]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush the irq and tasklets before asserting engine is idle
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Nov 2017 20:21:49 +0000 (20:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Nov 2017 11:24:59 +0000 (11:24 +0000)
commitbc3d59c9f89b80d7ea6849ddb2e411a70a6642bf
tree75084edd273e7c6fbb63c03dcb3e2d33e85052cc
parent2d0865afb84154e7f761bf6da510d3c06f28d47d
drm/i915: Flush the irq and tasklets before asserting engine is idle

Before we assert that the engine is idle, make sure we flush any
residual tasklet. After that point, if the engine is not idle, more work
may be queued despite us trying to park the engine and go to sleep.

References: https://bugs.freedesktop.org/show_bug.cgi?id=103479
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171101202149.32493-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c