From: Christian König Date: Mon, 5 Aug 2013 12:10:58 +0000 (+0200) Subject: drm/radeon: remove unnecessary unpin X-Git-Tag: firefly_0821_release~176^2~5515^2~8^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3744b248f9c617295f1fd015d67281a67e592ecb;p=firefly-linux-kernel-4.4.55.git drm/radeon: remove unnecessary unpin We don't pin the BO on allocation, so don't unpin it on free. Signed-off-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index 6a51d943ccf4..b990b1a2bd50 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c @@ -207,7 +207,6 @@ void radeon_gart_table_vram_free(struct radeon_device *rdev) if (rdev->gart.robj == NULL) { return; } - radeon_gart_table_vram_unpin(rdev); radeon_bo_unref(&rdev->gart.robj); }