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)
commit34a6baa2df9db77dc65979e9c334a3097f6b7d9f
treebafef33463deeb162ba04a42e21c2a6b429cc0cb
parent4dc0a7cae212a3a9fb292e19b91f06012fc70d65
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