drm/i915/execlists: Make submission tasklet hardirq safe
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 May 2018 21:03:17 +0000 (22:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 May 2018 08:28:46 +0000 (09:28 +0100)
commit4413c474b18f116f96157599b7cc418a6471ed31
treed556e6e9326e1349688a14f5207ad05f6ebb8a86
parentb9777c6f86ac8c21f82211ab982ca48302042ede
drm/i915/execlists: Make submission tasklet hardirq safe

Prepare to allow the execlists submission to be run from underneath a
hardirq timer context (and not just the current softirq context) as is
required for fast preemption resets and context switches.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180508210318.10274-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c