]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Try a minimal attempt to insert the whole object for relocations
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Oct 2017 08:43:59 +0000 (09:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Oct 2017 16:07:29 +0000 (17:07 +0100)
commita0f44ff7b1e5d40fd86b1dc74c638e1199e5cc71
tree597e4bdd94487563181db008d79ffcf9e8ba2f7e
parent9b93b556d76233b13ceb69f483dc581243cbfa19
drm/i915: Try a minimal attempt to insert the whole object for relocations

As we have a lightweight fallback to insert a single page into the
aperture, try to avoid any heavier evictions when attempting to insert
the entire object.

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