drm/radeon: fall back to GTT if bo creation/validation in VRAM fails.
commit1e4966cc558d6aac892abeed6434591348103dff
authorMichel Dänzer <daenzer@vmware.com>
Thu, 8 Jul 2010 02:43:28 +0000 (8 12:43 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 18:09:22 +0000 (10 11:09 -0700)
tree2bc7c196b3b339628f2cd71323a833ab0b0d7a3b
parent37aa5ce0ed1e1535c22fc3d37f36e39dd82e80b1
drm/radeon: fall back to GTT if bo creation/validation in VRAM fails.

commit e376573f7267390f4e1bdc552564b6fb913bce76 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_object.c