]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/xehp: Correct steering initialization
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 7 Jun 2022 17:57:16 +0000 (10:57 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 8 Jun 2022 14:25:58 +0000 (07:25 -0700)
commit1fa11115569ca603c5763f18517264db675834d5
treedba6f56582083068c3faae34ddd027838ee6a51e
parent8838d7b22c98179bb06982a78583f75e750456bb
drm/i915/xehp: Correct steering initialization

Another mistake during the conversion to DSS bitmaps:  after retrieving
the DSS ID intel_sseu_find_first_xehp_dss() we forgot to modulo it down
to obtain which ID within the current gslice it is.

Fixes: c5a760cfc4e2 ("drm/i915/sseu: Disassociate internal subslice mask representation from uapi")
Cc: 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/20220607175716.3338661-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c