summaryrefslogtreecommitdiffstats
path: root/net/irda
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-13 16:59:58 +0000
committerJani Nikula <jani.nikula@intel.com>2017-03-14 12:26:44 +0200
commit4565bf58d45b8aded94e446666839955cdb5030c (patch)
tree4c53350a807a3d418361dac81e4cc34d8874437d /net/irda
parentda9a796f5475b4d3a339083af719982b7ab4a12b (diff)
downloadlinux-4565bf58d45b8aded94e446666839955cdb5030c.tar.bz2
drm/i915: Disable engine->irq_tasklet around resets
When we restart the engines, and we have active requests, a request on the first engine may complete and queue a request to the second engine before we try to restart the second engine. That queueing of the request may race with the engine to restart, and so may corrupt the current state. Disabling the engine->irq_tasklet prevents the two paths from writing into ELSP simultaneously (and modifyin the execlists_port[] at the same time). Include fixup 1d309634bcf4 ("drm/i915: Kill the tasklet then disable") Fixes: 821ed7df6e2a ("drm/i915: Update reset path to fix incomplete requests") Testcase: igt/gem_exec_fence/await-hang Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170208143033.11651-3-chris@chris-wilson.co.uk Link: http://patchwork.freedesktop.org/patch/msgid/20170313165958.13970-2-chris@chris-wilson.co.uk (cherry picked from commit 1f7b847d72c3583df5048d83bd945d0c2c524c28) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions