aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r300.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-07-09 20:15:42 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-08-05 08:53:31 -0400
commita3eb06dbca08e3fdad7039021ae03b46b215f22a (patch)
tree2086d5a660f3581f0b7fd617d41241873ff07ce8 /drivers/gpu/drm/radeon/r300.c
parentdrm/radeon: Demote 'BO allocation size too large' message to debug only (diff)
downloadlinux-dev-a3eb06dbca08e3fdad7039021ae03b46b215f22a.tar.xz
linux-dev-a3eb06dbca08e3fdad7039021ae03b46b215f22a.zip
drm/radeon: Remove radeon_gart_restore()
Doesn't seem necessary, the GART table memory should be persistent. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r--drivers/gpu/drm/radeon/r300.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 3c21d77a483d..8d14e665f241 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -120,7 +120,6 @@ int rv370_pcie_gart_enable(struct radeon_device *rdev)
r = radeon_gart_table_vram_pin(rdev);
if (r)
return r;
- radeon_gart_restore(rdev);
/* discard memory request outside of configured range */
tmp = RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD;
WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp);