summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-08-05 14:10:58 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-08-07 17:37:17 -0400
commit3744b248f9c617295f1fd015d67281a67e592ecb (patch)
treeea164f127a9ebd59a4bbb8238b1f7a9faf7a9d62
parent56cc2c15389770d2f95a791f73d0ab6b15d530e1 (diff)
downloadlinux-3744b248f9c617295f1fd015d67281a67e592ecb.tar.bz2
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 <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_gart.c1
1 files changed, 0 insertions, 1 deletions
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);
}