[Intel-gfx] [PATCH v2 35/40] drm: Apply tight eviction scanning to color_adjust

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Dec 16 14:14:30 UTC 2016


On pe, 2016-12-16 at 07:47 +0000, Chris Wilson wrote:
> Using mm->color_adjust makes the eviction scanner much tricker since we
> don't know the actual neighbours of the target hole until after it is
> created (after scanning is complete). To work out whether we need to
> evict the neighbours because they impact upon the hole, we have to then
> check the hole afterwards - requiring an extra step in the user of the
> eviction scanner when they apply color_adjust.
> 
> v2: Massage kerneldoc.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

It's not optimal as a separate function, but good for now.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list