]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Flush the residual log capture irq on disabling
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Feb 2019 16:38:33 +0000 (16:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Feb 2019 11:25:32 +0000 (11:25 +0000)
commit7a296103cfc2a02c252fa2d27220fc63f7f9b737
treeae4e9a241164bccd300c8cbde91a3cce4b202404
parent41f7aeea3a02cfd04fc02cd84ba4573d4f70aff4
drm/i915/guc: Flush the residual log capture irq on disabling

As we disable the log capture events, flush any residual interrupt
before we flush and disable the worker.

v2: Mika pointed out that it wasn't the worker re-queueing itself, but a
rogue irq.

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