]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Ignore irq enabling on the virtual engines
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 11 Jul 2020 20:32:36 +0000 (21:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Jul 2020 11:23:12 +0000 (12:23 +0100)
commit7eed7f32681595d9f8de9b45a25334d21a608579
treec0fc0abb486c3976b31aed6b498b35c48100cea8
parenteadaa3328bc71510df788e6dec72ef66b83d78c6
drm/i915/gt: Ignore irq enabling on the virtual engines

We do not use the virtual engines for interrupts (they have physical
components), but we do use them to decouple the fence signaling during
submission. Currently, when we submit a completed request, we try to
enable the interrupt handler for the virtual engine, but we never disarm
it. A quick fix is then to mark the irq as enabled, and it will then
remain enabled -- and this prevents us from waking the device and never
letting it sleep again.

Fixes: 688c94189b1b ("drm/i915: Initialise breadcrumb lists on the virtual engine")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: <stable@vger.kernel.org> # v5.5+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200711203236.12330-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c