drm/radeon/kms: Fix retrying ttm_bo_init() after it failed once.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 9 Nov 2010 10:50:05 +0000 (11:50 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Nov 2010 01:51:11 +0000 (11:51 +1000)
commit2b66b50b12cabc05f05543e792d4c9c2465d5702
treed56cc1a158d22e4485db7ceb96d108e0d9bef640
parentb2298fd27127f872881048fd37cb9217a648ae06
drm/radeon/kms: Fix retrying ttm_bo_init() after it failed once.

If ttm_bo_init() returns failure, it already destroyed the BO, so we need to
retry from scratch.

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