]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Pin the ring high
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 May 2018 08:21:31 +0000 (09:21 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 May 2018 14:04:36 +0000 (15:04 +0100)
commite0ff0e3c6d35a132533398b4058a72b80a40871b
tree29e1eedb1d2b6e99b30806a6fcab3432dffe7354
parent2e7260a977977a12abbfd3182ef7a2ced0d91e60
drm/i915: Pin the ring high

If we can use an unmappable ring, try to pin it out of the mappable
aperture. This simple layout preference is to try and keep the mappable
aperture reserved and available to handle GGTT mmapping requests from
userspace without causing evictions and GPU stalls.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180521082131.13744-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c