]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Allow ringbuffers to be bound anywhere
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:16:56 +0000 (17:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:48 +0000 (22:36 +0100)
commit9d80841ea4c9df420da3f9a61a819d09a03f2161
tree51cd7c74bc0d94dd37cac9b2fbd0f8d9107894df
parent05a20d098db1e3318228e7c281cd9b2d3d25f12b
drm/i915: Allow ringbuffers to be bound anywhere

Now that we have WC vmapping available, we can bind our rings anywhere
in the GGTT and do not need to restrict them to the mappable region.
Except for stolen objects, for which direct access is verbatim and we
must use the mappable aperture.

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/20160818161718.27187-17-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h