aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/r600.c5
-rw-r--r--drivers/gpu/drm/radeon/rv770.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index cf4be70c5041..e74e7a748b31 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -1605,6 +1605,11 @@ int r600_init(struct radeon_device *rdev)
1605 rdev->flags &= ~RADEON_IS_AGP; 1605 rdev->flags &= ~RADEON_IS_AGP;
1606 return r600_init(rdev); 1606 return r600_init(rdev);
1607 } 1607 }
1608 r600_suspend(rdev);
1609 r600_wb_fini(rdev);
1610 radeon_ib_pool_fini(rdev);
1611 radeon_ring_fini(rdev);
1612 r600_pcie_gart_fini(rdev);
1608 rdev->accel_working = false; 1613 rdev->accel_working = false;
1609 } 1614 }
1610 if (rdev->accel_working) { 1615 if (rdev->accel_working) {
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index a06e7497d49e..a04e6ee45947 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -968,6 +968,11 @@ int rv770_init(struct radeon_device *rdev)
968 rdev->flags &= ~RADEON_IS_AGP; 968 rdev->flags &= ~RADEON_IS_AGP;
969 return rv770_init(rdev); 969 return rv770_init(rdev);
970 } 970 }
971 rv770_suspend(rdev);
972 r600_wb_fini(rdev);
973 radeon_ib_pool_fini(rdev);
974 radeon_ring_fini(rdev);
975 rv770_pcie_gart_fini(rdev);
971 rdev->accel_working = false; 976 rdev->accel_working = false;
972 } 977 }
973 if (rdev->accel_working) { 978 if (rdev->accel_working) {