]> Git Repo - linux.git/commit
drm/i915: Use page coloring to provide the guard page at the end of the GTT
authorChris Wilson <[email protected]>
Mon, 6 Feb 2017 08:45:47 +0000 (08:45 +0000)
committerChris Wilson <[email protected]>
Mon, 6 Feb 2017 13:46:40 +0000 (13:46 +0000)
commita6508ded2a6601fea903185034adc3622d94da0b
treea5820c98e76ee2ae89fb025bce15ca574349e66d
parent47db922fa1c8498c61cbcae4e5faba84713cae70
drm/i915: Use page coloring to provide the guard page at the end of the GTT

As we now mark the reserved hole (drm_mm.head_node) with the special
UNEVICTABLE color, we can use the page coloring to avoid prefetching of
the CS beyond the end of the GTT.

Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matthew Auld <[email protected]>
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_gtt.c
This page took 0.059379 seconds and 4 git commands to generate.