]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Track requests inside each intel_ring
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 06:52:36 +0000 (07:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 07:09:26 +0000 (08:09 +0100)
commit675d9ad71b0b7a6101500fea3e7b2b0c5bb6a8fd
tree2c21843641c33b1a943a7c428a8c8babd7150a44
parentfa545cbf9765914da302beb74d68cfd8f21b3843
drm/i915: Track requests inside each intel_ring

By tracking each request occupying space inside an individual
intel_ring, we can greatly simplify the logic of tracking available
space and not worry about other timelines. (Each ring is an ordered
timeline of committed requests.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-17-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/i915_gem_request.h
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h