]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Don't flush the tasklet if not setup
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jun 2020 18:39:35 +0000 (19:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Jun 2020 20:15:02 +0000 (21:15 +0100)
commit33d913159bcf2ab1d0f68bff9d8b80ce970da42a
treee4fb77c8fb387130a317b5e1f8e985c2811e16c6
parent6f7042be3d436e01ca6a0942a4667eb6b845773a
drm/i915/gt: Don't flush the tasklet if not setup

If the tasklet is not being used, don't try and flush it.

Fixes: d5775154d71e ("drm/i915/gt: Add a safety submission flush in the heartbeat")
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/20200615183935.17389-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c