]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/xehpsdv: Correct parameters for IS_XEHPSDV_GT_STEP()
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 23 Jul 2021 17:42:10 +0000 (10:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 28 Jul 2021 13:21:31 +0000 (06:21 -0700)
During a rebase the parameters were partially renamed, but not
completely.  Since the subsequent patches that start using this macro
haven't landed on an upstream tree yet this didn't cause a build
failure.

Fixes: 086df54e20be ("drm/i915/xehpsdv: add initial XeHP SDV definitions")
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Caz Yokoyama <caz.yokoyama@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723174239.1551352-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_drv.h

index 5c82a80123328c21c63f2194017e7eb8c4d1d389..d22cea6426279924f960a43c37d4d6b177e8883e 100644 (file)
@@ -1560,8 +1560,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
        (IS_ALDERLAKE_P(__i915) && \
         IS_GT_STEP(__i915, since, until))
 
-#define IS_XEHPSDV_GT_STEP(p, since, until) \
-       (IS_XEHPSDV(p) && IS_GT_STEP(__i915, since, until))
+#define IS_XEHPSDV_GT_STEP(__i915, since, until) \
+       (IS_XEHPSDV(__i915) && IS_GT_STEP(__i915, since, until))
 
 /*
  * DG2 hardware steppings are a bit unusual.  The hardware design was forked