diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/rv515.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv515.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c index 59632a506b46..0e1e6b8632b8 100644 --- a/drivers/gpu/drm/radeon/rv515.c +++ b/drivers/gpu/drm/radeon/rv515.c | |||
@@ -479,6 +479,7 @@ static int rv515_startup(struct radeon_device *rdev) | |||
479 | } | 479 | } |
480 | /* Enable IRQ */ | 480 | /* Enable IRQ */ |
481 | rs600_irq_set(rdev); | 481 | rs600_irq_set(rdev); |
482 | rdev->config.r300.hdp_cntl = RREG32(RADEON_HOST_PATH_CNTL); | ||
482 | /* 1M ring buffer */ | 483 | /* 1M ring buffer */ |
483 | r = r100_cp_init(rdev, 1024 * 1024); | 484 | r = r100_cp_init(rdev, 1024 * 1024); |
484 | if (r) { | 485 | if (r) { |
@@ -536,7 +537,6 @@ void rv515_set_safe_registers(struct radeon_device *rdev) | |||
536 | 537 | ||
537 | void rv515_fini(struct radeon_device *rdev) | 538 | void rv515_fini(struct radeon_device *rdev) |
538 | { | 539 | { |
539 | rv515_suspend(rdev); | ||
540 | r100_cp_fini(rdev); | 540 | r100_cp_fini(rdev); |
541 | r100_wb_fini(rdev); | 541 | r100_wb_fini(rdev); |
542 | r100_ib_fini(rdev); | 542 | r100_ib_fini(rdev); |
@@ -614,13 +614,12 @@ int rv515_init(struct radeon_device *rdev) | |||
614 | if (r) { | 614 | if (r) { |
615 | /* Somethings want wront with the accel init stop accel */ | 615 | /* Somethings want wront with the accel init stop accel */ |
616 | dev_err(rdev->dev, "Disabling GPU acceleration\n"); | 616 | dev_err(rdev->dev, "Disabling GPU acceleration\n"); |
617 | rv515_suspend(rdev); | ||
618 | r100_cp_fini(rdev); | 617 | r100_cp_fini(rdev); |
619 | r100_wb_fini(rdev); | 618 | r100_wb_fini(rdev); |
620 | r100_ib_fini(rdev); | 619 | r100_ib_fini(rdev); |
620 | radeon_irq_kms_fini(rdev); | ||
621 | rv370_pcie_gart_fini(rdev); | 621 | rv370_pcie_gart_fini(rdev); |
622 | radeon_agp_fini(rdev); | 622 | radeon_agp_fini(rdev); |
623 | radeon_irq_kms_fini(rdev); | ||
624 | rdev->accel_working = false; | 623 | rdev->accel_working = false; |
625 | } | 624 | } |
626 | return 0; | 625 | return 0; |