]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark unmappable GGTT entries as PIN_HIGH
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Aug 2016 12:41:45 +0000 (13:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Aug 2016 15:07:51 +0000 (16:07 +0100)
commit48fea0fbdc90e8f4b4012c7ca3f6f43ab97e7118
tree7602ce62b2fcfa2631a7b9fc6ffb00e98c1a44c6
parent97a013b2fa69d91f1cd0dcaebcf80ad54f3636af
drm/i915: Mark unmappable GGTT entries as PIN_HIGH

We allocate a few objects into the GGTT that we never need to access via
the mappable aperture (such as contexts, status pages). We can request
that these are bound high in the VM to increase the amount of mappable
aperture available. However, anything that may be frequently pinned
(such as logical contexts) we want to use the fast search & insert.

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/1470832906-13972-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c