]> 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)
commit6a605ffe8f83e99189510214f9fba7162cf6dc79
tree51cd7c74bc0d94dd37cac9b2fbd0f8d9107894df
parent112008a2f12e48bd54bedb253e12692f55b20840
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