[Intel-gfx] [PATCH v4 30/38] drm: Compute tight evictions for drm_mm_scan

2016-12-28 Thread Chris Wilson
On Wed, Dec 28, 2016 at 02:01:29PM +0100, Daniel Vetter wrote: > On Thu, Dec 22, 2016 at 08:36:33AM +, 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 bar

[Intel-gfx] [PATCH v4 30/38] drm: Compute tight evictions for drm_mm_scan

2016-12-28 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:33AM +, 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 > Reviewed-by: Joonas Laht

[PATCH v4 30/38] drm: Compute tight evictions for drm_mm_scan

2016-12-22 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 Reviewed-by: Joonas Lahtinen --- drivers/gpu/drm/drm_mm.c| 60 ++