diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-22 11:36:38 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-28 15:50:34 +0300 |
commit | 3db93756b501e5f0a3951c79cfa9ed43c26d3455 (patch) | |
tree | 51c345841181101b979670d57f53cc0f61bc0979 /include/drm/drm_mm.h | |
parent | 3f85fb3462dc1c87a9353eb38714468d46248b2e (diff) | |
download | linux-3db93756b501e5f0a3951c79cfa9ed43c26d3455.tar.xz |
drm: Apply range restriction after color adjustment when allocation
mm->color_adjust() compares the hole with its neighbouring nodes. They
only abutt before we restrict the hole, so we have to apply color_adjust
before we apply the range restriction.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-36-chris@chris-wilson.co.uk
Diffstat (limited to 'include/drm/drm_mm.h')
0 files changed, 0 insertions, 0 deletions