diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-23 15:11:15 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-24 09:11:37 +0100 |
commit | 2db86dfcefbb7f6d7586dbd16a0b2819a2aad149 (patch) | |
tree | 8bc11f9149c961fc7ec65cbbda2170e8e8e00d34 /drivers/cpufreq/imx6q-cpufreq.c | |
parent | drm: Define drm_mm_for_each_node_in_range() (diff) | |
download | linux-2db86dfcefbb7f6d7586dbd16a0b2819a2aad149.tar.xz linux-2db86dfcefbb7f6d7586dbd16a0b2819a2aad149.zip |
drm: Check against color expansion in drm_mm_reserve_node()
Use the color_adjust callback when reserving a node to check if
inserting a node into this hole requires any additional space, and so if
that space then conflicts with an existing allocation.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
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/20161123141118.23876-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/cpufreq/imx6q-cpufreq.c')
0 files changed, 0 insertions, 0 deletions