diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-03-09 09:45:11 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-05 21:21:04 -0400 |
commit | a2d07b7438f015a0349bc9af3c96a8164549bbc5 (patch) | |
tree | 7e05f0789ab09215efc96f8d2fd49eb61c3cab9f /drivers/gpu | |
parent | 225758d8ba4fdcc1e8c9cf617fd89529bd4a9596 (diff) |
drm/radeon/kms: rename gpu_reset to asic_reset
Patch rename gpu_reset to asic_reset in prevision of having
gpu_reset doing more stuff than just basic asic reset.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r100.c | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r300.c | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r420.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r520.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 28 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_fence.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/rs400.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/rs600.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/rs690.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/rv515.c | 8 |
15 files changed, 46 insertions, 46 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 3070e5994120..7672f11ed995 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c | |||
@@ -492,7 +492,7 @@ bool evergreen_gpu_is_lockup(struct radeon_device *rdev) | |||
492 | return false; | 492 | return false; |
493 | } | 493 | } |
494 | 494 | ||
495 | int evergreen_gpu_reset(struct radeon_device *rdev) | 495 | int evergreen_asic_reset(struct radeon_device *rdev) |
496 | { | 496 | { |
497 | /* FIXME: implement for evergreen */ | 497 | /* FIXME: implement for evergreen */ |
498 | return 0; | 498 | return 0; |
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c index 845c8f3063fe..8bb91092bffc 100644 --- a/drivers/gpu/drm/radeon/r100.c +++ b/drivers/gpu/drm/radeon/r100.c | |||
@@ -1863,7 +1863,7 @@ bool r100_gpu_is_lockup(struct radeon_device *rdev) | |||
1863 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r100.lockup, &rdev->cp); | 1863 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r100.lockup, &rdev->cp); |
1864 | } | 1864 | } |
1865 | 1865 | ||
1866 | int r100_gpu_reset(struct radeon_device *rdev) | 1866 | int r100_asic_reset(struct radeon_device *rdev) |
1867 | { | 1867 | { |
1868 | uint32_t status; | 1868 | uint32_t status; |
1869 | 1869 | ||
@@ -3512,7 +3512,7 @@ int r100_resume(struct radeon_device *rdev) | |||
3512 | /* Resume clock before doing reset */ | 3512 | /* Resume clock before doing reset */ |
3513 | r100_clock_startup(rdev); | 3513 | r100_clock_startup(rdev); |
3514 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 3514 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
3515 | if (radeon_gpu_reset(rdev)) { | 3515 | if (radeon_asic_reset(rdev)) { |
3516 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 3516 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
3517 | RREG32(R_000E40_RBBM_STATUS), | 3517 | RREG32(R_000E40_RBBM_STATUS), |
3518 | RREG32(R_0007C0_CP_STAT)); | 3518 | RREG32(R_0007C0_CP_STAT)); |
@@ -3581,7 +3581,7 @@ int r100_init(struct radeon_device *rdev) | |||
3581 | return r; | 3581 | return r; |
3582 | } | 3582 | } |
3583 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 3583 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
3584 | if (radeon_gpu_reset(rdev)) { | 3584 | if (radeon_asic_reset(rdev)) { |
3585 | dev_warn(rdev->dev, | 3585 | dev_warn(rdev->dev, |
3586 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 3586 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
3587 | RREG32(R_000E40_RBBM_STATUS), | 3587 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index 9825fb19331f..7d5de5dbde23 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -449,7 +449,7 @@ bool r300_gpu_is_lockup(struct radeon_device *rdev) | |||
449 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r300.lockup, &rdev->cp); | 449 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r300.lockup, &rdev->cp); |
450 | } | 450 | } |
451 | 451 | ||
452 | int r300_gpu_reset(struct radeon_device *rdev) | 452 | int r300_asic_reset(struct radeon_device *rdev) |
453 | { | 453 | { |
454 | uint32_t status; | 454 | uint32_t status; |
455 | 455 | ||
@@ -1333,7 +1333,7 @@ int r300_resume(struct radeon_device *rdev) | |||
1333 | /* Resume clock before doing reset */ | 1333 | /* Resume clock before doing reset */ |
1334 | r300_clock_startup(rdev); | 1334 | r300_clock_startup(rdev); |
1335 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 1335 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
1336 | if (radeon_gpu_reset(rdev)) { | 1336 | if (radeon_asic_reset(rdev)) { |
1337 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 1337 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
1338 | RREG32(R_000E40_RBBM_STATUS), | 1338 | RREG32(R_000E40_RBBM_STATUS), |
1339 | RREG32(R_0007C0_CP_STAT)); | 1339 | RREG32(R_0007C0_CP_STAT)); |
@@ -1404,7 +1404,7 @@ int r300_init(struct radeon_device *rdev) | |||
1404 | return r; | 1404 | return r; |
1405 | } | 1405 | } |
1406 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 1406 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
1407 | if (radeon_gpu_reset(rdev)) { | 1407 | if (radeon_asic_reset(rdev)) { |
1408 | dev_warn(rdev->dev, | 1408 | dev_warn(rdev->dev, |
1409 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 1409 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
1410 | RREG32(R_000E40_RBBM_STATUS), | 1410 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c index 0b8603ca6974..061553aa7a0c 100644 --- a/drivers/gpu/drm/radeon/r420.c +++ b/drivers/gpu/drm/radeon/r420.c | |||
@@ -234,7 +234,7 @@ int r420_resume(struct radeon_device *rdev) | |||
234 | /* Resume clock before doing reset */ | 234 | /* Resume clock before doing reset */ |
235 | r420_clock_resume(rdev); | 235 | r420_clock_resume(rdev); |
236 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 236 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
237 | if (radeon_gpu_reset(rdev)) { | 237 | if (radeon_asic_reset(rdev)) { |
238 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 238 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
239 | RREG32(R_000E40_RBBM_STATUS), | 239 | RREG32(R_000E40_RBBM_STATUS), |
240 | RREG32(R_0007C0_CP_STAT)); | 240 | RREG32(R_0007C0_CP_STAT)); |
@@ -315,7 +315,7 @@ int r420_init(struct radeon_device *rdev) | |||
315 | } | 315 | } |
316 | } | 316 | } |
317 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 317 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
318 | if (radeon_gpu_reset(rdev)) { | 318 | if (radeon_asic_reset(rdev)) { |
319 | dev_warn(rdev->dev, | 319 | dev_warn(rdev->dev, |
320 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 320 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
321 | RREG32(R_000E40_RBBM_STATUS), | 321 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/r520.c b/drivers/gpu/drm/radeon/r520.c index 3c44b8d39318..3ade473e69ba 100644 --- a/drivers/gpu/drm/radeon/r520.c +++ b/drivers/gpu/drm/radeon/r520.c | |||
@@ -209,7 +209,7 @@ int r520_resume(struct radeon_device *rdev) | |||
209 | /* Resume clock before doing reset */ | 209 | /* Resume clock before doing reset */ |
210 | rv515_clock_startup(rdev); | 210 | rv515_clock_startup(rdev); |
211 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 211 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
212 | if (radeon_gpu_reset(rdev)) { | 212 | if (radeon_asic_reset(rdev)) { |
213 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 213 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
214 | RREG32(R_000E40_RBBM_STATUS), | 214 | RREG32(R_000E40_RBBM_STATUS), |
215 | RREG32(R_0007C0_CP_STAT)); | 215 | RREG32(R_0007C0_CP_STAT)); |
@@ -246,7 +246,7 @@ int r520_init(struct radeon_device *rdev) | |||
246 | return -EINVAL; | 246 | return -EINVAL; |
247 | } | 247 | } |
248 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 248 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
249 | if (radeon_gpu_reset(rdev)) { | 249 | if (radeon_asic_reset(rdev)) { |
250 | dev_warn(rdev->dev, | 250 | dev_warn(rdev->dev, |
251 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 251 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
252 | RREG32(R_000E40_RBBM_STATUS), | 252 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index a09c062df4db..24fd5459fb42 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -874,7 +874,7 @@ bool r600_gpu_is_lockup(struct radeon_device *rdev) | |||
874 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r300.lockup, &rdev->cp); | 874 | return r100_gpu_cp_is_lockup(rdev, &rdev->config.r300.lockup, &rdev->cp); |
875 | } | 875 | } |
876 | 876 | ||
877 | int r600_gpu_reset(struct radeon_device *rdev) | 877 | int r600_asic_reset(struct radeon_device *rdev) |
878 | { | 878 | { |
879 | return r600_gpu_soft_reset(rdev); | 879 | return r600_gpu_soft_reset(rdev); |
880 | } | 880 | } |
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index a3d13c367176..3cc5820b0e1b 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -748,7 +748,7 @@ struct radeon_asic { | |||
748 | int (*suspend)(struct radeon_device *rdev); | 748 | int (*suspend)(struct radeon_device *rdev); |
749 | void (*vga_set_state)(struct radeon_device *rdev, bool state); | 749 | void (*vga_set_state)(struct radeon_device *rdev, bool state); |
750 | bool (*gpu_is_lockup)(struct radeon_device *rdev); | 750 | bool (*gpu_is_lockup)(struct radeon_device *rdev); |
751 | int (*gpu_reset)(struct radeon_device *rdev); | 751 | int (*asic_reset)(struct radeon_device *rdev); |
752 | void (*gart_tlb_flush)(struct radeon_device *rdev); | 752 | void (*gart_tlb_flush)(struct radeon_device *rdev); |
753 | int (*gart_set_page)(struct radeon_device *rdev, int i, uint64_t addr); | 753 | int (*gart_set_page)(struct radeon_device *rdev, int i, uint64_t addr); |
754 | int (*cp_init)(struct radeon_device *rdev, unsigned ring_size); | 754 | int (*cp_init)(struct radeon_device *rdev, unsigned ring_size); |
@@ -1157,7 +1157,7 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v) | |||
1157 | #define radeon_cs_parse(p) rdev->asic->cs_parse((p)) | 1157 | #define radeon_cs_parse(p) rdev->asic->cs_parse((p)) |
1158 | #define radeon_vga_set_state(rdev, state) (rdev)->asic->vga_set_state((rdev), (state)) | 1158 | #define radeon_vga_set_state(rdev, state) (rdev)->asic->vga_set_state((rdev), (state)) |
1159 | #define radeon_gpu_is_lockup(rdev) (rdev)->asic->gpu_is_lockup((rdev)) | 1159 | #define radeon_gpu_is_lockup(rdev) (rdev)->asic->gpu_is_lockup((rdev)) |
1160 | #define radeon_gpu_reset(rdev) (rdev)->asic->gpu_reset((rdev)) | 1160 | #define radeon_asic_reset(rdev) (rdev)->asic->asic_reset((rdev)) |
1161 | #define radeon_gart_tlb_flush(rdev) (rdev)->asic->gart_tlb_flush((rdev)) | 1161 | #define radeon_gart_tlb_flush(rdev) (rdev)->asic->gart_tlb_flush((rdev)) |
1162 | #define radeon_gart_set_page(rdev, i, p) (rdev)->asic->gart_set_page((rdev), (i), (p)) | 1162 | #define radeon_gart_set_page(rdev, i, p) (rdev)->asic->gart_set_page((rdev), (i), (p)) |
1163 | #define radeon_cp_commit(rdev) (rdev)->asic->cp_commit((rdev)) | 1163 | #define radeon_cp_commit(rdev) (rdev)->asic->cp_commit((rdev)) |
@@ -1290,7 +1290,7 @@ extern void r600_scratch_init(struct radeon_device *rdev); | |||
1290 | extern int r600_blit_init(struct radeon_device *rdev); | 1290 | extern int r600_blit_init(struct radeon_device *rdev); |
1291 | extern void r600_blit_fini(struct radeon_device *rdev); | 1291 | extern void r600_blit_fini(struct radeon_device *rdev); |
1292 | extern int r600_init_microcode(struct radeon_device *rdev); | 1292 | extern int r600_init_microcode(struct radeon_device *rdev); |
1293 | extern int r600_gpu_reset(struct radeon_device *rdev); | 1293 | extern int r600_asic_reset(struct radeon_device *rdev); |
1294 | /* r600 irq */ | 1294 | /* r600 irq */ |
1295 | extern int r600_irq_init(struct radeon_device *rdev); | 1295 | extern int r600_irq_init(struct radeon_device *rdev); |
1296 | extern void r600_irq_fini(struct radeon_device *rdev); | 1296 | extern void r600_irq_fini(struct radeon_device *rdev); |
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 7e21985139f7..011ac6d86581 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c | |||
@@ -135,7 +135,7 @@ static struct radeon_asic r100_asic = { | |||
135 | .resume = &r100_resume, | 135 | .resume = &r100_resume, |
136 | .vga_set_state = &r100_vga_set_state, | 136 | .vga_set_state = &r100_vga_set_state, |
137 | .gpu_is_lockup = &r100_gpu_is_lockup, | 137 | .gpu_is_lockup = &r100_gpu_is_lockup, |
138 | .gpu_reset = &r100_gpu_reset, | 138 | .asic_reset = &r100_asic_reset, |
139 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, | 139 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, |
140 | .gart_set_page = &r100_pci_gart_set_page, | 140 | .gart_set_page = &r100_pci_gart_set_page, |
141 | .cp_commit = &r100_cp_commit, | 141 | .cp_commit = &r100_cp_commit, |
@@ -174,7 +174,7 @@ static struct radeon_asic r200_asic = { | |||
174 | .resume = &r100_resume, | 174 | .resume = &r100_resume, |
175 | .vga_set_state = &r100_vga_set_state, | 175 | .vga_set_state = &r100_vga_set_state, |
176 | .gpu_is_lockup = &r100_gpu_is_lockup, | 176 | .gpu_is_lockup = &r100_gpu_is_lockup, |
177 | .gpu_reset = &r100_gpu_reset, | 177 | .asic_reset = &r100_asic_reset, |
178 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, | 178 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, |
179 | .gart_set_page = &r100_pci_gart_set_page, | 179 | .gart_set_page = &r100_pci_gart_set_page, |
180 | .cp_commit = &r100_cp_commit, | 180 | .cp_commit = &r100_cp_commit, |
@@ -212,7 +212,7 @@ static struct radeon_asic r300_asic = { | |||
212 | .resume = &r300_resume, | 212 | .resume = &r300_resume, |
213 | .vga_set_state = &r100_vga_set_state, | 213 | .vga_set_state = &r100_vga_set_state, |
214 | .gpu_is_lockup = &r300_gpu_is_lockup, | 214 | .gpu_is_lockup = &r300_gpu_is_lockup, |
215 | .gpu_reset = &r300_gpu_reset, | 215 | .asic_reset = &r300_asic_reset, |
216 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, | 216 | .gart_tlb_flush = &r100_pci_gart_tlb_flush, |
217 | .gart_set_page = &r100_pci_gart_set_page, | 217 | .gart_set_page = &r100_pci_gart_set_page, |
218 | .cp_commit = &r100_cp_commit, | 218 | .cp_commit = &r100_cp_commit, |
@@ -251,7 +251,7 @@ static struct radeon_asic r300_asic_pcie = { | |||
251 | .resume = &r300_resume, | 251 | .resume = &r300_resume, |
252 | .vga_set_state = &r100_vga_set_state, | 252 | .vga_set_state = &r100_vga_set_state, |
253 | .gpu_is_lockup = &r300_gpu_is_lockup, | 253 | .gpu_is_lockup = &r300_gpu_is_lockup, |
254 | .gpu_reset = &r300_gpu_reset, | 254 | .asic_reset = &r300_asic_reset, |
255 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, | 255 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, |
256 | .gart_set_page = &rv370_pcie_gart_set_page, | 256 | .gart_set_page = &rv370_pcie_gart_set_page, |
257 | .cp_commit = &r100_cp_commit, | 257 | .cp_commit = &r100_cp_commit, |
@@ -289,7 +289,7 @@ static struct radeon_asic r420_asic = { | |||
289 | .resume = &r420_resume, | 289 | .resume = &r420_resume, |
290 | .vga_set_state = &r100_vga_set_state, | 290 | .vga_set_state = &r100_vga_set_state, |
291 | .gpu_is_lockup = &r300_gpu_is_lockup, | 291 | .gpu_is_lockup = &r300_gpu_is_lockup, |
292 | .gpu_reset = &r300_gpu_reset, | 292 | .asic_reset = &r300_asic_reset, |
293 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, | 293 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, |
294 | .gart_set_page = &rv370_pcie_gart_set_page, | 294 | .gart_set_page = &rv370_pcie_gart_set_page, |
295 | .cp_commit = &r100_cp_commit, | 295 | .cp_commit = &r100_cp_commit, |
@@ -328,7 +328,7 @@ static struct radeon_asic rs400_asic = { | |||
328 | .resume = &rs400_resume, | 328 | .resume = &rs400_resume, |
329 | .vga_set_state = &r100_vga_set_state, | 329 | .vga_set_state = &r100_vga_set_state, |
330 | .gpu_is_lockup = &r300_gpu_is_lockup, | 330 | .gpu_is_lockup = &r300_gpu_is_lockup, |
331 | .gpu_reset = &r300_gpu_reset, | 331 | .asic_reset = &r300_asic_reset, |
332 | .gart_tlb_flush = &rs400_gart_tlb_flush, | 332 | .gart_tlb_flush = &rs400_gart_tlb_flush, |
333 | .gart_set_page = &rs400_gart_set_page, | 333 | .gart_set_page = &rs400_gart_set_page, |
334 | .cp_commit = &r100_cp_commit, | 334 | .cp_commit = &r100_cp_commit, |
@@ -367,7 +367,7 @@ static struct radeon_asic rs600_asic = { | |||
367 | .resume = &rs600_resume, | 367 | .resume = &rs600_resume, |
368 | .vga_set_state = &r100_vga_set_state, | 368 | .vga_set_state = &r100_vga_set_state, |
369 | .gpu_is_lockup = &r300_gpu_is_lockup, | 369 | .gpu_is_lockup = &r300_gpu_is_lockup, |
370 | .gpu_reset = &r300_gpu_reset, | 370 | .asic_reset = &r300_asic_reset, |
371 | .gart_tlb_flush = &rs600_gart_tlb_flush, | 371 | .gart_tlb_flush = &rs600_gart_tlb_flush, |
372 | .gart_set_page = &rs600_gart_set_page, | 372 | .gart_set_page = &rs600_gart_set_page, |
373 | .cp_commit = &r100_cp_commit, | 373 | .cp_commit = &r100_cp_commit, |
@@ -406,7 +406,7 @@ static struct radeon_asic rs690_asic = { | |||
406 | .resume = &rs690_resume, | 406 | .resume = &rs690_resume, |
407 | .vga_set_state = &r100_vga_set_state, | 407 | .vga_set_state = &r100_vga_set_state, |
408 | .gpu_is_lockup = &r300_gpu_is_lockup, | 408 | .gpu_is_lockup = &r300_gpu_is_lockup, |
409 | .gpu_reset = &r300_gpu_reset, | 409 | .asic_reset = &r300_asic_reset, |
410 | .gart_tlb_flush = &rs400_gart_tlb_flush, | 410 | .gart_tlb_flush = &rs400_gart_tlb_flush, |
411 | .gart_set_page = &rs400_gart_set_page, | 411 | .gart_set_page = &rs400_gart_set_page, |
412 | .cp_commit = &r100_cp_commit, | 412 | .cp_commit = &r100_cp_commit, |
@@ -445,7 +445,7 @@ static struct radeon_asic rv515_asic = { | |||
445 | .resume = &rv515_resume, | 445 | .resume = &rv515_resume, |
446 | .vga_set_state = &r100_vga_set_state, | 446 | .vga_set_state = &r100_vga_set_state, |
447 | .gpu_is_lockup = &r300_gpu_is_lockup, | 447 | .gpu_is_lockup = &r300_gpu_is_lockup, |
448 | .gpu_reset = &rv515_gpu_reset, | 448 | .asic_reset = &rv515_asic_reset, |
449 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, | 449 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, |
450 | .gart_set_page = &rv370_pcie_gart_set_page, | 450 | .gart_set_page = &rv370_pcie_gart_set_page, |
451 | .cp_commit = &r100_cp_commit, | 451 | .cp_commit = &r100_cp_commit, |
@@ -484,7 +484,7 @@ static struct radeon_asic r520_asic = { | |||
484 | .resume = &r520_resume, | 484 | .resume = &r520_resume, |
485 | .vga_set_state = &r100_vga_set_state, | 485 | .vga_set_state = &r100_vga_set_state, |
486 | .gpu_is_lockup = &r300_gpu_is_lockup, | 486 | .gpu_is_lockup = &r300_gpu_is_lockup, |
487 | .gpu_reset = &rv515_gpu_reset, | 487 | .asic_reset = &rv515_asic_reset, |
488 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, | 488 | .gart_tlb_flush = &rv370_pcie_gart_tlb_flush, |
489 | .gart_set_page = &rv370_pcie_gart_set_page, | 489 | .gart_set_page = &rv370_pcie_gart_set_page, |
490 | .cp_commit = &r100_cp_commit, | 490 | .cp_commit = &r100_cp_commit, |
@@ -524,7 +524,7 @@ static struct radeon_asic r600_asic = { | |||
524 | .cp_commit = &r600_cp_commit, | 524 | .cp_commit = &r600_cp_commit, |
525 | .vga_set_state = &r600_vga_set_state, | 525 | .vga_set_state = &r600_vga_set_state, |
526 | .gpu_is_lockup = &r600_gpu_is_lockup, | 526 | .gpu_is_lockup = &r600_gpu_is_lockup, |
527 | .gpu_reset = &r600_gpu_reset, | 527 | .asic_reset = &r600_asic_reset, |
528 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, | 528 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, |
529 | .gart_set_page = &rs600_gart_set_page, | 529 | .gart_set_page = &rs600_gart_set_page, |
530 | .ring_test = &r600_ring_test, | 530 | .ring_test = &r600_ring_test, |
@@ -561,7 +561,7 @@ static struct radeon_asic rs780_asic = { | |||
561 | .resume = &r600_resume, | 561 | .resume = &r600_resume, |
562 | .cp_commit = &r600_cp_commit, | 562 | .cp_commit = &r600_cp_commit, |
563 | .vga_set_state = &r600_vga_set_state, | 563 | .vga_set_state = &r600_vga_set_state, |
564 | .gpu_reset = &r600_gpu_reset, | 564 | .asic_reset = &r600_asic_reset, |
565 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, | 565 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, |
566 | .gart_set_page = &rs600_gart_set_page, | 566 | .gart_set_page = &rs600_gart_set_page, |
567 | .ring_test = &r600_ring_test, | 567 | .ring_test = &r600_ring_test, |
@@ -597,7 +597,7 @@ static struct radeon_asic rv770_asic = { | |||
597 | .suspend = &rv770_suspend, | 597 | .suspend = &rv770_suspend, |
598 | .resume = &rv770_resume, | 598 | .resume = &rv770_resume, |
599 | .cp_commit = &r600_cp_commit, | 599 | .cp_commit = &r600_cp_commit, |
600 | .gpu_reset = &r600_gpu_reset, | 600 | .asic_reset = &r600_asic_reset, |
601 | .gpu_is_lockup = &r600_gpu_is_lockup, | 601 | .gpu_is_lockup = &r600_gpu_is_lockup, |
602 | .vga_set_state = &r600_vga_set_state, | 602 | .vga_set_state = &r600_vga_set_state, |
603 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, | 603 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, |
@@ -636,7 +636,7 @@ static struct radeon_asic evergreen_asic = { | |||
636 | .resume = &evergreen_resume, | 636 | .resume = &evergreen_resume, |
637 | .cp_commit = NULL, | 637 | .cp_commit = NULL, |
638 | .gpu_is_lockup = &evergreen_gpu_is_lockup, | 638 | .gpu_is_lockup = &evergreen_gpu_is_lockup, |
639 | .gpu_reset = &evergreen_gpu_reset, | 639 | .asic_reset = &evergreen_asic_reset, |
640 | .vga_set_state = &r600_vga_set_state, | 640 | .vga_set_state = &r600_vga_set_state, |
641 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, | 641 | .gart_tlb_flush = &r600_pcie_gart_tlb_flush, |
642 | .gart_set_page = &rs600_gart_set_page, | 642 | .gart_set_page = &rs600_gart_set_page, |
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index ce2f3e4f0814..53ebcacbd0e0 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -61,7 +61,7 @@ uint32_t r100_mm_rreg(struct radeon_device *rdev, uint32_t reg); | |||
61 | void r100_mm_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v); | 61 | void r100_mm_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v); |
62 | void r100_vga_set_state(struct radeon_device *rdev, bool state); | 62 | void r100_vga_set_state(struct radeon_device *rdev, bool state); |
63 | bool r100_gpu_is_lockup(struct radeon_device *rdev); | 63 | bool r100_gpu_is_lockup(struct radeon_device *rdev); |
64 | int r100_gpu_reset(struct radeon_device *rdev); | 64 | int r100_asic_reset(struct radeon_device *rdev); |
65 | u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc); | 65 | u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc); |
66 | void r100_pci_gart_tlb_flush(struct radeon_device *rdev); | 66 | void r100_pci_gart_tlb_flush(struct radeon_device *rdev); |
67 | int r100_pci_gart_set_page(struct radeon_device *rdev, int i, uint64_t addr); | 67 | int r100_pci_gart_set_page(struct radeon_device *rdev, int i, uint64_t addr); |
@@ -145,7 +145,7 @@ extern void r300_fini(struct radeon_device *rdev); | |||
145 | extern int r300_suspend(struct radeon_device *rdev); | 145 | extern int r300_suspend(struct radeon_device *rdev); |
146 | extern int r300_resume(struct radeon_device *rdev); | 146 | extern int r300_resume(struct radeon_device *rdev); |
147 | extern bool r300_gpu_is_lockup(struct radeon_device *rdev); | 147 | extern bool r300_gpu_is_lockup(struct radeon_device *rdev); |
148 | extern int r300_gpu_reset(struct radeon_device *rdev); | 148 | extern int r300_asic_reset(struct radeon_device *rdev); |
149 | extern void r300_ring_start(struct radeon_device *rdev); | 149 | extern void r300_ring_start(struct radeon_device *rdev); |
150 | extern void r300_fence_ring_emit(struct radeon_device *rdev, | 150 | extern void r300_fence_ring_emit(struct radeon_device *rdev, |
151 | struct radeon_fence *fence); | 151 | struct radeon_fence *fence); |
@@ -214,7 +214,7 @@ void rs690_bandwidth_update(struct radeon_device *rdev); | |||
214 | */ | 214 | */ |
215 | int rv515_init(struct radeon_device *rdev); | 215 | int rv515_init(struct radeon_device *rdev); |
216 | void rv515_fini(struct radeon_device *rdev); | 216 | void rv515_fini(struct radeon_device *rdev); |
217 | int rv515_gpu_reset(struct radeon_device *rdev); | 217 | int rv515_asic_reset(struct radeon_device *rdev); |
218 | uint32_t rv515_mc_rreg(struct radeon_device *rdev, uint32_t reg); | 218 | uint32_t rv515_mc_rreg(struct radeon_device *rdev, uint32_t reg); |
219 | void rv515_mc_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v); | 219 | void rv515_mc_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v); |
220 | void rv515_ring_start(struct radeon_device *rdev); | 220 | void rv515_ring_start(struct radeon_device *rdev); |
@@ -255,7 +255,7 @@ int r600_copy_dma(struct radeon_device *rdev, | |||
255 | int r600_irq_process(struct radeon_device *rdev); | 255 | int r600_irq_process(struct radeon_device *rdev); |
256 | int r600_irq_set(struct radeon_device *rdev); | 256 | int r600_irq_set(struct radeon_device *rdev); |
257 | bool r600_gpu_is_lockup(struct radeon_device *rdev); | 257 | bool r600_gpu_is_lockup(struct radeon_device *rdev); |
258 | int r600_gpu_reset(struct radeon_device *rdev); | 258 | int r600_asic_reset(struct radeon_device *rdev); |
259 | int r600_set_surface_reg(struct radeon_device *rdev, int reg, | 259 | int r600_set_surface_reg(struct radeon_device *rdev, int reg, |
260 | uint32_t tiling_flags, uint32_t pitch, | 260 | uint32_t tiling_flags, uint32_t pitch, |
261 | uint32_t offset, uint32_t obj_size); | 261 | uint32_t offset, uint32_t obj_size); |
@@ -288,7 +288,7 @@ void evergreen_fini(struct radeon_device *rdev); | |||
288 | int evergreen_suspend(struct radeon_device *rdev); | 288 | int evergreen_suspend(struct radeon_device *rdev); |
289 | int evergreen_resume(struct radeon_device *rdev); | 289 | int evergreen_resume(struct radeon_device *rdev); |
290 | bool evergreen_gpu_is_lockup(struct radeon_device *rdev); | 290 | bool evergreen_gpu_is_lockup(struct radeon_device *rdev); |
291 | int evergreen_gpu_reset(struct radeon_device *rdev); | 291 | int evergreen_asic_reset(struct radeon_device *rdev); |
292 | void evergreen_bandwidth_update(struct radeon_device *rdev); | 292 | void evergreen_bandwidth_update(struct radeon_device *rdev); |
293 | void evergreen_hpd_init(struct radeon_device *rdev); | 293 | void evergreen_hpd_init(struct radeon_device *rdev); |
294 | void evergreen_hpd_fini(struct radeon_device *rdev); | 294 | void evergreen_hpd_fini(struct radeon_device *rdev); |
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 60ec47b71642..232a30768499 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c | |||
@@ -619,7 +619,7 @@ int radeon_device_init(struct radeon_device *rdev, | |||
619 | /* Acceleration not working on AGP card try again | 619 | /* Acceleration not working on AGP card try again |
620 | * with fallback to PCI or PCIE GART | 620 | * with fallback to PCI or PCIE GART |
621 | */ | 621 | */ |
622 | radeon_gpu_reset(rdev); | 622 | radeon_asic_reset(rdev); |
623 | radeon_fini(rdev); | 623 | radeon_fini(rdev); |
624 | radeon_agp_disable(rdev); | 624 | radeon_agp_disable(rdev); |
625 | r = radeon_init(rdev); | 625 | r = radeon_init(rdev); |
diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 393154268dea..2560740ff922 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c | |||
@@ -231,7 +231,7 @@ retry: | |||
231 | if (seq == rdev->fence_drv.last_seq && radeon_gpu_is_lockup(rdev)) { | 231 | if (seq == rdev->fence_drv.last_seq && radeon_gpu_is_lockup(rdev)) { |
232 | /* good news we believe it's a lockup */ | 232 | /* good news we believe it's a lockup */ |
233 | dev_warn(rdev->dev, "GPU lockup (last fence id 0x%08X)\n", seq); | 233 | dev_warn(rdev->dev, "GPU lockup (last fence id 0x%08X)\n", seq); |
234 | r = radeon_gpu_reset(rdev); | 234 | r = radeon_asic_reset(rdev); |
235 | if (r) | 235 | if (r) |
236 | return r; | 236 | return r; |
237 | /* FIXME: what should we do ? marking everyone | 237 | /* FIXME: what should we do ? marking everyone |
diff --git a/drivers/gpu/drm/radeon/rs400.c b/drivers/gpu/drm/radeon/rs400.c index 626aaf082b1a..3deec2185083 100644 --- a/drivers/gpu/drm/radeon/rs400.c +++ b/drivers/gpu/drm/radeon/rs400.c | |||
@@ -432,7 +432,7 @@ int rs400_resume(struct radeon_device *rdev) | |||
432 | /* setup MC before calling post tables */ | 432 | /* setup MC before calling post tables */ |
433 | rs400_mc_program(rdev); | 433 | rs400_mc_program(rdev); |
434 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 434 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
435 | if (radeon_gpu_reset(rdev)) { | 435 | if (radeon_asic_reset(rdev)) { |
436 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 436 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
437 | RREG32(R_000E40_RBBM_STATUS), | 437 | RREG32(R_000E40_RBBM_STATUS), |
438 | RREG32(R_0007C0_CP_STAT)); | 438 | RREG32(R_0007C0_CP_STAT)); |
@@ -496,7 +496,7 @@ int rs400_init(struct radeon_device *rdev) | |||
496 | return r; | 496 | return r; |
497 | } | 497 | } |
498 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 498 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
499 | if (radeon_gpu_reset(rdev)) { | 499 | if (radeon_asic_reset(rdev)) { |
500 | dev_warn(rdev->dev, | 500 | dev_warn(rdev->dev, |
501 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 501 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
502 | RREG32(R_000E40_RBBM_STATUS), | 502 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c index abf824c2123d..c1be20afd429 100644 --- a/drivers/gpu/drm/radeon/rs600.c +++ b/drivers/gpu/drm/radeon/rs600.c | |||
@@ -601,7 +601,7 @@ int rs600_resume(struct radeon_device *rdev) | |||
601 | /* Resume clock before doing reset */ | 601 | /* Resume clock before doing reset */ |
602 | rv515_clock_startup(rdev); | 602 | rv515_clock_startup(rdev); |
603 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 603 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
604 | if (radeon_gpu_reset(rdev)) { | 604 | if (radeon_asic_reset(rdev)) { |
605 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 605 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
606 | RREG32(R_000E40_RBBM_STATUS), | 606 | RREG32(R_000E40_RBBM_STATUS), |
607 | RREG32(R_0007C0_CP_STAT)); | 607 | RREG32(R_0007C0_CP_STAT)); |
@@ -664,7 +664,7 @@ int rs600_init(struct radeon_device *rdev) | |||
664 | return -EINVAL; | 664 | return -EINVAL; |
665 | } | 665 | } |
666 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 666 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
667 | if (radeon_gpu_reset(rdev)) { | 667 | if (radeon_asic_reset(rdev)) { |
668 | dev_warn(rdev->dev, | 668 | dev_warn(rdev->dev, |
669 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 669 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
670 | RREG32(R_000E40_RBBM_STATUS), | 670 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/rs690.c b/drivers/gpu/drm/radeon/rs690.c index bbf3da790fd5..ef35e0468f13 100644 --- a/drivers/gpu/drm/radeon/rs690.c +++ b/drivers/gpu/drm/radeon/rs690.c | |||
@@ -653,7 +653,7 @@ int rs690_resume(struct radeon_device *rdev) | |||
653 | /* Resume clock before doing reset */ | 653 | /* Resume clock before doing reset */ |
654 | rv515_clock_startup(rdev); | 654 | rv515_clock_startup(rdev); |
655 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 655 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
656 | if (radeon_gpu_reset(rdev)) { | 656 | if (radeon_asic_reset(rdev)) { |
657 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 657 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
658 | RREG32(R_000E40_RBBM_STATUS), | 658 | RREG32(R_000E40_RBBM_STATUS), |
659 | RREG32(R_0007C0_CP_STAT)); | 659 | RREG32(R_0007C0_CP_STAT)); |
@@ -717,7 +717,7 @@ int rs690_init(struct radeon_device *rdev) | |||
717 | return -EINVAL; | 717 | return -EINVAL; |
718 | } | 718 | } |
719 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 719 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
720 | if (radeon_gpu_reset(rdev)) { | 720 | if (radeon_asic_reset(rdev)) { |
721 | dev_warn(rdev->dev, | 721 | dev_warn(rdev->dev, |
722 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 722 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
723 | RREG32(R_000E40_RBBM_STATUS), | 723 | RREG32(R_000E40_RBBM_STATUS), |
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c index 1cf233f7e516..2a4c01f5cf12 100644 --- a/drivers/gpu/drm/radeon/rv515.c +++ b/drivers/gpu/drm/radeon/rv515.c | |||
@@ -227,7 +227,7 @@ int rv515_ga_reset(struct radeon_device *rdev) | |||
227 | return -1; | 227 | return -1; |
228 | } | 228 | } |
229 | 229 | ||
230 | int rv515_gpu_reset(struct radeon_device *rdev) | 230 | int rv515_asic_reset(struct radeon_device *rdev) |
231 | { | 231 | { |
232 | uint32_t status; | 232 | uint32_t status; |
233 | 233 | ||
@@ -334,7 +334,7 @@ static int rv515_debugfs_ga_info(struct seq_file *m, void *data) | |||
334 | 334 | ||
335 | tmp = RREG32(0x2140); | 335 | tmp = RREG32(0x2140); |
336 | seq_printf(m, "VAP_CNTL_STATUS 0x%08x\n", tmp); | 336 | seq_printf(m, "VAP_CNTL_STATUS 0x%08x\n", tmp); |
337 | radeon_gpu_reset(rdev); | 337 | radeon_asic_reset(rdev); |
338 | tmp = RREG32(0x425C); | 338 | tmp = RREG32(0x425C); |
339 | seq_printf(m, "GA_IDLE 0x%08x\n", tmp); | 339 | seq_printf(m, "GA_IDLE 0x%08x\n", tmp); |
340 | return 0; | 340 | return 0; |
@@ -502,7 +502,7 @@ int rv515_resume(struct radeon_device *rdev) | |||
502 | /* Resume clock before doing reset */ | 502 | /* Resume clock before doing reset */ |
503 | rv515_clock_startup(rdev); | 503 | rv515_clock_startup(rdev); |
504 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 504 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
505 | if (radeon_gpu_reset(rdev)) { | 505 | if (radeon_asic_reset(rdev)) { |
506 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 506 | dev_warn(rdev->dev, "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
507 | RREG32(R_000E40_RBBM_STATUS), | 507 | RREG32(R_000E40_RBBM_STATUS), |
508 | RREG32(R_0007C0_CP_STAT)); | 508 | RREG32(R_0007C0_CP_STAT)); |
@@ -572,7 +572,7 @@ int rv515_init(struct radeon_device *rdev) | |||
572 | return -EINVAL; | 572 | return -EINVAL; |
573 | } | 573 | } |
574 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ | 574 | /* Reset gpu before posting otherwise ATOM will enter infinite loop */ |
575 | if (radeon_gpu_reset(rdev)) { | 575 | if (radeon_asic_reset(rdev)) { |
576 | dev_warn(rdev->dev, | 576 | dev_warn(rdev->dev, |
577 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", | 577 | "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", |
578 | RREG32(R_000E40_RBBM_STATUS), | 578 | RREG32(R_000E40_RBBM_STATUS), |