drm/i915/icl: Add WaDisableBankHangMode
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 20 May 2019 11:04:42 +0000 (12:04 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 22 May 2019 09:11:10 +0000 (10:11 +0100)
commitcbe3e1d103793705204b29c6952faed537c41fe1
treeafdf0fe110e55108d4e11c2b0262c8d3e4924d48
parentfde938867b92607d1108fa42cf7fbfcbab8457c8
drm/i915/icl: Add WaDisableBankHangMode

Disable GPU hang by default on unrecoverable ECC cache errors.

v2:
 * Rebase.

v3:
 * Use intel_uncore_read. (Chris)

Fixes: cc38cae7c4e9 ("drm/i915/icl: Introduce initial Icelake Workarounds")
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190520110442.403-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h