From: Daniel Vetter
There are already two copies of this logic. And the new scanning
stuff will add some more. So extract it into a small helper
function.
Signed-off-by: Daniel Vetter
Acked-by: Thomas Hellstrom
Signed-off-by: Chris Wilson
---
drivers/gpu/drm/drm_mm.c | 71 +
From: Daniel Vetter
There are already two copies of this logic. And the new scanning
stuff will add some more. So extract it into a small helper
function.
Signed-off-by: Daniel Vetter
Acked-by: Thomas Hellstrom
Signed-off-by: Chris Wilson
---
drivers/gpu/drm/drm_mm.c | 71 +