]> git.baikalelectronics.ru Git - kernel.git/commit
drm_mm: extract check_free_mm_node
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Jul 2010 14:02:15 +0000 (15:02 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jul 2010 02:28:35 +0000 (12:28 +1000)
commitc833927db677772b7bd5e342c8ec2c3f7c3064c7
tree3d3cef52a85a26f59d23a40e7317cdd2585126d0
parent1039898acfafd70482916c6ec2955be3cd17de87
drm_mm: extract check_free_mm_node

There are already two copies of this logic. And the new scanning
stuff will add some more. So extract it into a small helper
function.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Thomas Hellstrom <thellstrom@vmwgfx.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c