]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't allocate the ring in stolen if we lack aperture
authorMatthew Auld <matthew.auld@intel.com>
Tue, 29 Oct 2019 09:58:55 +0000 (09:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 10:35:47 +0000 (10:35 +0000)
commitacfe85395cb82a9d486ce68f17c1b13ca4826b60
treebafef33463deeb162ba04a42e21c2a6b429cc0cb
parentf1c233fa590cb69ebc30f4732099cccdc64170bd
drm/i915: don't allocate the ring in stolen if we lack aperture

Since we have no way access it from the CPU. For such cases just
fallback to internal objects.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029095856.25431-6-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/intel_ring.c