commit | 9a71e277888b39b8f0e8364813ec1ba58a5a4371 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 22 08:36:29 2016 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 27 16:44:13 2016 +0100 |
tree | b0564902f8ce34f7d3ab3ff7033bea42fb4471ff | |
parent | 6259a56ba0e1c3a15954e22ea531e810944518cb [diff] |
drm: Extract struct drm_mm_scan from struct drm_mm 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 <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> [danvet: Fix up etnaviv to compile, was missing a BUG_ON.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>