]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Switch to use HWS indices rather than addresses
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Mar 2019 09:51:51 +0000 (09:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Mar 2019 20:55:28 +0000 (20:55 +0000)
commite2f46c32f876c689f8e727eafbb53e6b8fbc43d1
tree012302dede892c6c6d8a0b34897c599cf85c6201
parent138ee07576386ccfa56f666cf3c8be023e4acd4f
drm/i915: Switch to use HWS indices rather than addresses

If we use the STORE_DATA_INDEX function we can use a fixed offset and
avoid having to lookup up the engine HWS address. A step closer to being
able to emit the final breadcrumb during request_add rather than later
in the submission interrupt handler.

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/20190318095204.9913-9-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h