summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem_cma_helper.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-03-19 12:37:14 +0400
committerDave Airlie <airlied@redhat.com>2014-04-04 04:12:21 +0400
commit145bccd2397b53f2163c37e73413d80bfcbb8e35 (patch)
tree2dd49386d2a4a2a500badc1f9dedc41c0c3d2b95 /drivers/gpu/drm/drm_gem_cma_helper.c
parent740c22ae516c22f07ac275713d684581df08a386 (diff)
downloadlinux-145bccd2397b53f2163c37e73413d80bfcbb8e35.tar.xz
drm/mm: Fix search for smallest hole satisfying constraints
entry->size is the size of the node, not the size of the hole after it. So the code would actually find the hole which can satisfy the constraints and which is preceded by the smallest node, not the smallest hole satisfying the constraints. Reported-by: "Huang, FrankR" <FrankR.Huang@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_gem_cma_helper.c')
0 files changed, 0 insertions, 0 deletions