drm/i915/icl: Add WaDisableBankHangMode
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 20 May 2019 11:04:42 +0000 (12:04 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 29 May 2019 10:45:15 +0000 (13:45 +0300)
commita6315005a2d4f65b2f010763f4badd69059ba175
treea6948c15ce32d4dbbc871554dfa9125a2dd74611
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07
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
(cherry picked from commit cbe3e1d103793705204b29c6952faed537c41fe1)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_workarounds.c