drm/radeon: fall back to GTT if bo creation/validation in VRAM fails.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 8 Jul 2010 02:43:28 +0000 (12:43 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 00:00:08 +0000 (10:00 +1000)
commite376573f7267390f4e1bdc552564b6fb913bce76
tree2ce33e85ac5ca32c03006dd81a2f6fec52b0227f
parent351a52a2414d2b104269755c86b476863c248034
drm/radeon: fall back to GTT if bo creation/validation in VRAM fails.

This fixes a problem where on low VRAM cards we'd run out of space for validation.

[airlied: Tested on my M7, Thinkpad T42, compiz works with no problems.]

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c