diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-22 08:36:38 +0000 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-28 13:50:34 +0100 |
| commit | 3db93756b501e5f0a3951c79cfa9ed43c26d3455 (patch) | |
| tree | 51c345841181101b979670d57f53cc0f61bc0979 /include | |
| parent | drm: Wrap drm_mm_node.hole_follows (diff) | |
| download | linux-3db93756b501e5f0a3951c79cfa9ed43c26d3455.tar.gz linux-3db93756b501e5f0a3951c79cfa9ed43c26d3455.zip | |
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')
0 files changed, 0 insertions, 0 deletions
