drm: Fix a bug in the range manager.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 11 Feb 2010 23:17:59 +0000 (00:17 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Feb 2010 01:19:14 +0000 (11:19 +1000)
commit775c67090c98780b44c4f95d5c05565df715b8bd
tree8326fb57dc82a90fb609f1fe5d32372aba3ea6f0
parent724e6d3fe8003c3f60bf404bf22e4e331327c596
drm: Fix a bug in the range manager.

When searching for free space in a range, the function could return a node extending outside of the given range.

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