]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allocate rings from stolen
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:16:57 +0000 (17:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:36:49 +0000 (22:36 +0100)
commitc2b86cf5b66b1d1ffc2bb00a037f5f298e8120a8
tree89f78c3243909e8be7f0679627f9007a6a0f1b0c
parenta9ab7be3b7ce71a4500da5ce355906d821c4ea97
drm/i915: Allocate rings from stolen

If we have stolen available, make use of it for ringbuffer allocation.
Previously this was restricted to !llc platforms, as writing to stolen
requires a GGTT mapping - but now that we have partial mappable support,
the mappable aperture isn't quite so precious so we can use it more
freely and ringbuffers are a good user for the otherwise wasted stolen.

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