]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Clear engine irq posted following a reset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:29 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:47 +0000 (09:38 +0200)
commited454f2cd61a54d00c267e385c0600bae0761833
tree592f7628663659027f878215156f78cea71e3d52
parentbf2eac3bee51299bd08dcbd25f7bd8dbaaff1b62
drm/i915: Clear engine irq posted following a reset

When the GPU is reset, we want to discard all pending notifications as
either we have manually completed them, or they are no longer
applicable. Make sure we do reset the engine->irq_posted prior to
re-enabling the engine (e.g. the interrupt tasklets) in
i915_gem_reset_finish_engine().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-11-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c