[PATCH 29/34] drm: Compute tight evictions for drm_mm_scan

2016-12-13 Thread Joonas Lahtinen
On ma, 2016-12-12 at 11:53 +, Chris Wilson wrote: > Compute the minimal required hole during scan and only evict those nodes > that overlap. This enables us to reduce the number of nodes we need to > evict to the bare minimum. > > Signed-off-by: Chris Wilson Definitely for the better. Revie

[PATCH 29/34] drm: Compute tight evictions for drm_mm_scan

2016-12-12 Thread Chris Wilson
Compute the minimal required hole during scan and only evict those nodes that overlap. This enables us to reduce the number of nodes we need to evict to the bare minimum. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_mm.c| 60 +++-- drivers/gpu/d