drm/ttm: Fix a bug occuring when validating a buffer object in a range.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 11 Feb 2010 23:18:00 +0000 (00:18 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Feb 2010 01:19:14 +0000 (11:19 +1000)
commite22238ea37a870f70e34668a4992bde0c92bba8d
tree71036caef29c04901df02f79a8c241503f3a9920
parent775c67090c98780b44c4f95d5c05565df715b8bd
drm/ttm: Fix a bug occuring when validating a buffer object in a range.

If the buffer object was already in the requested memory type, but
outside of the requested range it was never moved into the requested range.

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