drm/i915/gt: Assume we hold forcewake for execlists resume
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 15:52:24 +0000 (16:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 13:42:38 +0000 (14:42 +0100)
commit313443b16ac26dd0250462d8513c5b5c0a188e38
treee03967651b50a374fe3babfed933f97db9e5d75a
parent56e0f78e47e47795873acbabab443029aa30bcb4
drm/i915/gt: Assume we hold forcewake for execlists resume

We can assume the caller is holding a blanket forcewake for the
register writes during resume, and so we can skip taking individual
locks around each write inside execlists resume.

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/20190703155225.9501-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c