diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r520.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r520.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/r520.c b/drivers/gpu/drm/radeon/r520.c index 3c44b8d39318..34330df28483 100644 --- a/drivers/gpu/drm/radeon/r520.c +++ b/drivers/gpu/drm/radeon/r520.c | |||
@@ -53,7 +53,6 @@ static void r520_gpu_init(struct radeon_device *rdev) | |||
53 | { | 53 | { |
54 | unsigned pipe_select_current, gb_pipe_select, tmp; | 54 | unsigned pipe_select_current, gb_pipe_select, tmp; |
55 | 55 | ||
56 | r100_hdp_reset(rdev); | ||
57 | rv515_vga_render_disable(rdev); | 56 | rv515_vga_render_disable(rdev); |
58 | /* | 57 | /* |
59 | * DST_PIPE_CONFIG 0x170C | 58 | * DST_PIPE_CONFIG 0x170C |
@@ -209,7 +208,7 @@ int r520_resume(struct radeon_device *rdev) | |||
209 | /* Resume clock before doing reset */ | 208 | /* Resume clock before doing reset */ |
210 | rv515_clock_startup(rdev); | 209 | rv515_clock_startup(rdev); |
211 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 210 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
212 | if (radeon_gpu_reset(rdev)) { | 211 | if (radeon_asic_reset(rdev)) { |
213 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 212 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
214 | RREG32(R_000E40_RBBM_STATUS), | 213 | RREG32(R_000E40_RBBM_STATUS), |
215 | RREG32(R_0007C0_CP_STAT)); | 214 | RREG32(R_0007C0_CP_STAT)); |
@@ -246,7 +245,7 @@ int r520_init(struct radeon_device *rdev) | |||
246 | return -EINVAL; | 245 | return -EINVAL; |
247 | } | 246 | } |
248 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 247 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
249 | if (radeon_gpu_reset(rdev)) { | 248 | if (radeon_asic_reset(rdev)) { |
250 | dev_warn(rdev->dev, | 249 | dev_warn(rdev->dev, |
251 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 250 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
252 | RREG32(R_000E40_RBBM_STATUS), | 251 | RREG32(R_000E40_RBBM_STATUS), |
@@ -262,8 +261,6 @@ int r520_init(struct radeon_device *rdev) | |||
262 | } | 261 | } |
263 | /* Initialize clocks */ | 262 | /* Initialize clocks */ |
264 | radeon_get_clock_info(rdev->ddev); | 263 | radeon_get_clock_info(rdev->ddev); |
265 | /* Initialize power management */ | ||
266 | radeon_pm_init(rdev); | ||
267 | /* initialize AGP */ | 264 | /* initialize AGP */ |
268 | if (rdev->flags & RADEON_IS_AGP) { | 265 | if (rdev->flags & RADEON_IS_AGP) { |
269 | r = radeon_agp_init(rdev); | 266 | r = radeon_agp_init(rdev); |