]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ae1cba5bea422ca4b188782cfd78961e700f5f4
treee43f9f4ba8969306e4c99d994306dde691ff512b
parent219fc5e7a4dd1c10eb10eccb410d014274edd808
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