drm/mm: fix logic for selection of best fit block
authorBob Gleitsmann <rjgleits@bellsouth.net>
Mon, 21 Dec 2009 03:52:09 +0000 (13:52 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 00:08:08 +0000 (10:08 +1000)
commite2108eb1f66d77b4af77caf282cab1d47e3f4831
tree0685a210b76856d6a1787172b8f3a6822e872863
parent7a73ba7469cbea631050094fd14f73acebb97cf9
drm/mm: fix logic for selection of best fit block

This is from bug 25728.

[airlied: I'm just forwarding the patch for review, Thomas, ickle?]

Acked-by: Jerome Glisse <jglisse@redhat.com>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c