]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:11 +0000 (23:40 +0100)
commit73b7f671413df8be86082244b0ae55516097eebf
treebaf052ec693e5172116caa6bd94fcd993ccea9d2
parent7b86e65e74572b8a2935e136a901a527786d2772
drm/radeon/kms: Fix retrying ttm_bo_init() after it failed once.

commit 2b66b50b12cabc05f05543e792d4c9c2465d5702 upstream.

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