]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/radeon: fix bo creation retry path"
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Aug 2012 13:55:01 +0000 (09:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Aug 2012 13:55:01 +0000 (09:55 -0400)
commit9b0218e723f7eb6a295123162d3091f7b4b601f2
treea1603a9309f91fedec5fb98d985058577da14fb6
parent2cd8165680532a445098d881a7ca8d36df7a4aa4
Revert "drm/radeon: fix bo creation retry path"

This reverts commit a04c32824425b1ca7f20307ace74b40e59d5662b.

ttm_bo_init() destroys the BO on failure. So this patch makes
the retry path work with freed memory.  This ends up causing
kernel panics when this path is hit.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_object.c