drm/i915/guc: Make submission tasklet hardirq safe
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 May 2018 21:03:18 +0000 (22:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 9 May 2018 08:28:47 +0000 (09:28 +0100)
commit6486d84b1cca1b4374286ba2685161824f0bfa7d
tree5b59915cb649c0e121a53b628582641b7d2ad91b
parent4413c474b18f116f96157599b7cc418a6471ed31
drm/i915/guc: Make submission tasklet hardirq safe

Prepare to allow the GuC 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-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c