Chris Wilson 56e0f78e47 drm/i915/gt: Use caller provided forcewake for intel_mocs_init_engine
During post-reset resume, we call intel_mocs_init_engine to reinitialise
the MOCS registers. Suprisingly, especially when enhanced by lockdep,
the acquisition of the forcewake lock around each register write takes a
substantial portion of the reset time. We don't need to use the
individual forcewake here as we can assume that the caller is holding a
blanket forcewake for the reset&resume and the resume is serialised.

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-2-chris@chris-wilson.co.uk
2019-07-04 14:42:38 +01:00
..
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 09:26:52 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-08 21:35:19 -07:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 08:59:11 +10:00
2019-05-28 09:26:52 +10:00
2019-05-28 09:26:52 +10:00
2019-05-06 16:00:48 +03:00
2019-05-09 11:40:20 +02:00
2019-04-25 10:02:10 -04:00
2019-05-28 09:26:52 +10:00
2019-05-09 11:40:20 +02:00
2019-05-09 11:40:20 +02:00
2019-04-29 12:37:53 +02:00
2019-05-22 15:34:55 +02:00
2019-05-08 21:35:19 -07:00
2019-05-28 08:59:11 +10:00
2019-05-28 09:26:52 +10:00