]> git.baikalelectronics.ru Git - kernel.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)
commita9ab7be3b7ce71a4500da5ce355906d821c4ea97
tree51cd7c74bc0d94dd37cac9b2fbd0f8d9107894df
parent1632b54b755839ec703945187afdf8dfc1583ee9
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