]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dg2: Correct DSS check for Wa_1308578152
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 7 Jun 2022 15:47:24 +0000 (08:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 8 Jun 2022 00:51:54 +0000 (17:51 -0700)
commit98cf98433d82b97e765b383ae602825804b17408
treea29ede79f223e93814a300f190099f4d6e41ad25
parent1e1b600d89baf788f532d96b892cf337b2c4bc32
drm/i915/dg2: Correct DSS check for Wa_1308578152

When converting our DSS masks to bitmaps, we fumbled the condition used
to check whether any DSS are present in the first gslice.  Since
intel_sseu_find_first_xehp_dss() returns a 0-based number, we need a >=
condition rather than >.

Fixes: cae4f94731b5 ("drm/i915/sseu: Disassociate internal subslice mask representation from uapi")
Reported-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607154724.9546324-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c