Re: [Intel-gfx] [PATCH 25/34] drm: Extract struct drm_mm_scan from struct drm_mm

2016-12-13 Thread Joonas Lahtinen
On ma, 2016-12-12 at 11:53 +, 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 Wilson >

[Intel-gfx] [PATCH 25/34] drm: Extract struct drm_mm_scan from struct drm_mm

2016-12-12 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 --- drivers/gpu/drm/drm_mm.c| 128 ++