[PATCH v4 26/38] drm: Extract struct drm_mm_scan from struct drm_mm

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:29AM +, Chris Wilson wrote: > The scan state occupies a large proportion of the struct drm_mm and is > rarely used and only contains temporary state. That makes it suitable to > moving to its struct and onto the stack of the callers. > > Signed-off-by: Chris Wilso

[PATCH v4 26/38] drm: Extract struct drm_mm_scan from struct drm_mm

2016-12-22 Thread Chris Wilson
The scan state occupies a large proportion of the struct drm_mm and is rarely used and only contains temporary state. That makes it suitable to moving to its struct and onto the stack of the callers. Signed-off-by: Chris Wilson Reviewed-by: Joonas Lahtinen --- drivers/gpu/drm/drm_mm.c