]> asedeno.scripts.mit.edu Git - linux.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)
commit54939ea0bd85e128bdd5bca579508dd4701c5ce9
tree012302dede892c6c6d8a0b34897c599cf85c6201
parent7c1200456cb0859fba27927feb8322929a4fad83
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