drm/i915: Move tasklet kicking to __i915_request_queue caller
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Aug 2019 04:20:30 +0000 (05:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Aug 2019 12:27:44 +0000 (13:27 +0100)
commit62520e3361d2d9e2e41d3958dcc34faee79a3c1a
treed1bce70804ebce76fe243abd5d6c9a2150f9db50
parent845f7f7ecb1f67c3197f0a7c86207042736abf70
drm/i915: Move tasklet kicking to __i915_request_queue caller

Since __i915_request_queue() may be called from hardirq (timer) context,
we cannot use local_bh_disable/enable at the lower level. As we do want
to kick the tasklet to speed up initial submission or preemption for
normal client submission, lift it to the normal process context
callpath.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190815042031.27750-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c