aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2015-10-12 10:20:59 +0000
committerDaniel Vetter <[email protected]>2015-10-13 15:41:57 +0000
commit9c4cbf8212e8d8be4bc6e16cc2c21af2bbaab2c1 (patch)
treec09bfad284010e32c9229841dcdbdb0e97711705 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/i915: Drop i915_gem_obj_is_pinned() from set-cache-level (diff)
downloadkernel-9c4cbf8212e8d8be4bc6e16cc2c21af2bbaab2c1.tar.gz
kernel-9c4cbf8212e8d8be4bc6e16cc2c21af2bbaab2c1.zip
drm/i915: Move skl/bxt gt specific workarounds to ring init
Some registers are, naturally, lost in gpu reset/suspend cycle. And some registers, for example in display domain, are not subject to gpu reset so they retain their contents. As hang recovery triggers a reset, recoverable gpu hang can currently flush out essential workarounds and cause havoc later on. When register GEN8_GARBNTL is missing the WaEnableGapsTsvCreditFix:skl, it can cause random system hangs [1]. This workaround was added in: commit 245d96670d26 ("drm/i915:skl: Add WaEnableGapsTsvCreditFix") But another set of system hangs were observed and the failure pattern indicated that there was random gpu hang preceding the system hang [2]. This lead to the realization that we lose this workaround and BDW_SCRATCH1 on reset. Add these workarounds setup in display init to skl/bxt ring init where LRI workarounds are also setup. This way their setup is not dependent on display side init. References: [1] https://bugs.freedesktop.org/show_bug.cgi?id=90854 References: [2] https://bugs.freedesktop.org/show_bug.cgi?id=92315 Reported-by: Tomi Sarvela <[email protected]> Cc: Tomi Sarvela <[email protected]> Cc: Ville Syrjälä <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Tested-by: Tomi Sarvela <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions