drm/i915/mtl: Check full IP version when applying hw steering semaphore
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 2 Dec 2022 22:35:28 +0000 (14:35 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 5 Dec 2022 17:06:50 +0000 (09:06 -0800)
commitc04712efb3755306ff3ab72a91df94108bff1f30
treef4eba6639303edf7962177fc3c9b27cd7f829d74
parent3100240bf846ead1a2dbd6ae62bf48c687b9f5be
drm/i915/mtl: Check full IP version when applying hw steering semaphore

When determining whether the platform has a hardware-level steering
semaphore (i.e., MTL and beyond), we need to use GRAPHICS_VER_FULL() to
compare the full version rather than just the major version number
returned by GRAPHICS_VER().

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 3100240bf846 ("drm/i915/mtl: Add hardware-level lock for steering")
Cc: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202223528.714491-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_mcr.c