drm/i915/execlists: Skip forcewake for ELSP submission
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Jan 2018 10:07:14 +0000 (10:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Jan 2018 18:27:04 +0000 (18:27 +0000)
commitbb5db7e1601b368e7aad5e4ceded75de70f6fddb
treee43f9f4ba8969306e4c99d994306dde691ff512b
parentc1beabcf143c72ecdfe76bf50aa6e385a6192d08
drm/i915/execlists: Skip forcewake for ELSP submission

Now that we can read the CSB from the HWSP, we may avoid having to
perform mmio reads entirely and so forgo the rigmarole of the forcewake
dance.

v2: Include forcewake hint for GEM_TRACE readback of mmio. If we don't
hold fw ourselves, the reads may return garbage.

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