linux_dsm_epyc7002/drivers/gpu/drm/i915/gt
Tvrtko Ursulin 0bbfdce345 drm/i915: Fix GEN8_MCR_SELECTOR programming
fls returns bit positions starting from one for the lsb and the MCR
register expects zero based (sub)slice addressing.

Incorrent MCR programming can have the effect of directing MMIO reads of
registers in the 0xb100-0xb3ff range to invalid subslice returning zeroes
instead of actual content.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 1e40d4aea5 ("drm/i915/cnl: Implement WaProgramMgsrForCorrectSliceSpecificMmioReads")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190717180624.20354-2-tvrtko.ursulin@linux.intel.com
(cherry picked from commit 15160879d4)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2019-07-29 15:49:55 +03:00
..
intel_breadcrumbs.c
intel_context_types.h
intel_context.c drm/i915: Keep rings pinned while the context is active 2019-07-29 14:57:50 +03:00
intel_context.h
intel_engine_cs.c drm/i915: Fix GEN8_MCR_SELECTOR programming 2019-07-29 15:49:55 +03:00
intel_engine_pm.c
intel_engine_pm.h
intel_engine_types.h drm/i915: Keep rings pinned while the context is active 2019-07-29 14:57:50 +03:00
intel_engine.h
intel_gpu_commands.h
intel_gt_pm.c
intel_gt_pm.h
intel_hangcheck.c
intel_lrc_reg.h
intel_lrc.c drm/i915: Keep rings pinned while the context is active 2019-07-29 14:57:50 +03:00
intel_lrc.h
intel_mocs.c
intel_mocs.h
intel_reset.c
intel_reset.h
intel_ringbuffer.c drm/i915: Keep rings pinned while the context is active 2019-07-29 14:57:50 +03:00
intel_sseu.c
intel_sseu.h
intel_workarounds_types.h
intel_workarounds.c drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT 2019-07-29 15:28:21 +03:00
intel_workarounds.h
Makefile
Makefile.header-test
mock_engine.c drm/i915: Keep rings pinned while the context is active 2019-07-29 14:57:50 +03:00
mock_engine.h
selftest_engine_cs.c
selftest_hangcheck.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00
selftest_lrc.c drm/i915: Stop passing I915_WAIT_LOCKED to i915_request_wait() 2019-06-19 12:58:38 +01:00
selftest_reset.c
selftest_workarounds.c drm/i915: fix whitelist selftests with readonly registers 2019-07-29 15:28:21 +03:00