summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ddi.c
diff options
context:
space:
mode:
authorChris Wilson2017-12-19 10:01:10 +0100
committerChris Wilson2017-12-19 13:43:14 +0100
commitfcb1de54e2d9c84a2d3275d1febde00e92d45aa0 (patch)
tree0eeb7bb6e5ed7ff37b14f4dd18fdbec8d1bd76fd /drivers/gpu/drm/i915/intel_ddi.c
parentdrm/i915/cnl: Add support for horizontal plane flipping (diff)
downloadkernel-qcow2-linux-fcb1de54e2d9c84a2d3275d1febde00e92d45aa0.tar.gz
kernel-qcow2-linux-fcb1de54e2d9c84a2d3275d1febde00e92d45aa0.tar.xz
kernel-qcow2-linux-fcb1de54e2d9c84a2d3275d1febde00e92d45aa0.zip
drm/i915: Add a strong mb to resetting the has-CS-interrupt bit
After a reset, the state of the CSB registers are scrubbed and not valid until a powercontext is reloaded. We only know when a powercontext has been reloaded once we see a CS-interrupt, before then we must ignore the CSB registers within the execlists_submission_tasklet. However, glk is sporadically dying with an illegal CSB pointer value (both in the HSWP and mmio) suggesting that it is running with the CS-interrupt bit set before the powercontext has been reloaded. Make sure the clearing of that bit is serialised on reset with the re-enabling of the tasklet. References: https://bugs.freedesktop.org/show_bug.cgi?id=104262 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: MichaƂ Winiarski <michal.winiarski@intel.com> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171219090110.11153-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
0 files changed, 0 insertions, 0 deletions