diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 4f9ba6d0330f..a462fd9a2627 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -58,7 +58,7 @@ void r100_fini(struct radeon_device *rdev); | |||
58 | int r100_suspend(struct radeon_device *rdev); | 58 | int r100_suspend(struct radeon_device *rdev); |
59 | int r100_resume(struct radeon_device *rdev); | 59 | int r100_resume(struct radeon_device *rdev); |
60 | void r100_vga_set_state(struct radeon_device *rdev, bool state); | 60 | void r100_vga_set_state(struct radeon_device *rdev, bool state); |
61 | bool r100_gpu_is_lockup(struct radeon_device *rdev, struct radeon_cp *cp); | 61 | bool r100_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *cp); |
62 | int r100_asic_reset(struct radeon_device *rdev); | 62 | int r100_asic_reset(struct radeon_device *rdev); |
63 | u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc); | 63 | u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc); |
64 | void r100_pci_gart_tlb_flush(struct radeon_device *rdev); | 64 | void r100_pci_gart_tlb_flush(struct radeon_device *rdev); |
@@ -69,7 +69,7 @@ int r100_irq_process(struct radeon_device *rdev); | |||
69 | void r100_fence_ring_emit(struct radeon_device *rdev, | 69 | void r100_fence_ring_emit(struct radeon_device *rdev, |
70 | struct radeon_fence *fence); | 70 | struct radeon_fence *fence); |
71 | void r100_semaphore_ring_emit(struct radeon_device *rdev, | 71 | void r100_semaphore_ring_emit(struct radeon_device *rdev, |
72 | struct radeon_cp *cp, | 72 | struct radeon_ring *cp, |
73 | struct radeon_semaphore *semaphore, | 73 | struct radeon_semaphore *semaphore, |
74 | bool emit_wait); | 74 | bool emit_wait); |
75 | int r100_cs_parse(struct radeon_cs_parser *p); | 75 | int r100_cs_parse(struct radeon_cs_parser *p); |
@@ -86,7 +86,7 @@ int r100_set_surface_reg(struct radeon_device *rdev, int reg, | |||
86 | void r100_clear_surface_reg(struct radeon_device *rdev, int reg); | 86 | void r100_clear_surface_reg(struct radeon_device *rdev, int reg); |
87 | void r100_bandwidth_update(struct radeon_device *rdev); | 87 | void r100_bandwidth_update(struct radeon_device *rdev); |
88 | void r100_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); | 88 | void r100_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); |
89 | int r100_ring_test(struct radeon_device *rdev, struct radeon_cp *cp); | 89 | int r100_ring_test(struct radeon_device *rdev, struct radeon_ring *cp); |
90 | void r100_hpd_init(struct radeon_device *rdev); | 90 | void r100_hpd_init(struct radeon_device *rdev); |
91 | void r100_hpd_fini(struct radeon_device *rdev); | 91 | void r100_hpd_fini(struct radeon_device *rdev); |
92 | bool r100_hpd_sense(struct radeon_device *rdev, enum radeon_hpd_id hpd); | 92 | bool r100_hpd_sense(struct radeon_device *rdev, enum radeon_hpd_id hpd); |
@@ -104,10 +104,10 @@ void r100_pci_gart_disable(struct radeon_device *rdev); | |||
104 | int r100_debugfs_mc_info_init(struct radeon_device *rdev); | 104 | int r100_debugfs_mc_info_init(struct radeon_device *rdev); |
105 | int r100_gui_wait_for_idle(struct radeon_device *rdev); | 105 | int r100_gui_wait_for_idle(struct radeon_device *rdev); |
106 | void r100_gpu_lockup_update(struct r100_gpu_lockup *lockup, | 106 | void r100_gpu_lockup_update(struct r100_gpu_lockup *lockup, |
107 | struct radeon_cp *cp); | 107 | struct radeon_ring *cp); |
108 | bool r100_gpu_cp_is_lockup(struct radeon_device *rdev, | 108 | bool r100_gpu_cp_is_lockup(struct radeon_device *rdev, |
109 | struct r100_gpu_lockup *lockup, | 109 | struct r100_gpu_lockup *lockup, |
110 | struct radeon_cp *cp); | 110 | struct radeon_ring *cp); |
111 | void r100_ib_fini(struct radeon_device *rdev); | 111 | void r100_ib_fini(struct radeon_device *rdev); |
112 | int r100_ib_init(struct radeon_device *rdev); | 112 | int r100_ib_init(struct radeon_device *rdev); |
113 | void r100_irq_disable(struct radeon_device *rdev); | 113 | void r100_irq_disable(struct radeon_device *rdev); |
@@ -157,7 +157,7 @@ extern int r300_init(struct radeon_device *rdev); | |||
157 | extern void r300_fini(struct radeon_device *rdev); | 157 | extern void r300_fini(struct radeon_device *rdev); |
158 | extern int r300_suspend(struct radeon_device *rdev); | 158 | extern int r300_suspend(struct radeon_device *rdev); |
159 | extern int r300_resume(struct radeon_device *rdev); | 159 | extern int r300_resume(struct radeon_device *rdev); |
160 | extern bool r300_gpu_is_lockup(struct radeon_device *rdev, struct radeon_cp *cp); | 160 | extern bool r300_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *cp); |
161 | extern int r300_asic_reset(struct radeon_device *rdev); | 161 | extern int r300_asic_reset(struct radeon_device *rdev); |
162 | extern void r300_ring_start(struct radeon_device *rdev); | 162 | extern void r300_ring_start(struct radeon_device *rdev); |
163 | extern void r300_fence_ring_emit(struct radeon_device *rdev, | 163 | extern void r300_fence_ring_emit(struct radeon_device *rdev, |
@@ -303,10 +303,10 @@ int r600_cs_parse(struct radeon_cs_parser *p); | |||
303 | void r600_fence_ring_emit(struct radeon_device *rdev, | 303 | void r600_fence_ring_emit(struct radeon_device *rdev, |
304 | struct radeon_fence *fence); | 304 | struct radeon_fence *fence); |
305 | void r600_semaphore_ring_emit(struct radeon_device *rdev, | 305 | void r600_semaphore_ring_emit(struct radeon_device *rdev, |
306 | struct radeon_cp *cp, | 306 | struct radeon_ring *cp, |
307 | struct radeon_semaphore *semaphore, | 307 | struct radeon_semaphore *semaphore, |
308 | bool emit_wait); | 308 | bool emit_wait); |
309 | bool r600_gpu_is_lockup(struct radeon_device *rdev, struct radeon_cp *cp); | 309 | bool r600_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *cp); |
310 | int r600_asic_reset(struct radeon_device *rdev); | 310 | int r600_asic_reset(struct radeon_device *rdev); |
311 | int r600_set_surface_reg(struct radeon_device *rdev, int reg, | 311 | int r600_set_surface_reg(struct radeon_device *rdev, int reg, |
312 | uint32_t tiling_flags, uint32_t pitch, | 312 | uint32_t tiling_flags, uint32_t pitch, |
@@ -314,7 +314,7 @@ int r600_set_surface_reg(struct radeon_device *rdev, int reg, | |||
314 | void r600_clear_surface_reg(struct radeon_device *rdev, int reg); | 314 | void r600_clear_surface_reg(struct radeon_device *rdev, int reg); |
315 | int r600_ib_test(struct radeon_device *rdev, int ring); | 315 | int r600_ib_test(struct radeon_device *rdev, int ring); |
316 | void r600_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); | 316 | void r600_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); |
317 | int r600_ring_test(struct radeon_device *rdev, struct radeon_cp *cp); | 317 | int r600_ring_test(struct radeon_device *rdev, struct radeon_ring *cp); |
318 | int r600_copy_blit(struct radeon_device *rdev, | 318 | int r600_copy_blit(struct radeon_device *rdev, |
319 | uint64_t src_offset, uint64_t dst_offset, | 319 | uint64_t src_offset, uint64_t dst_offset, |
320 | unsigned num_gpu_pages, struct radeon_fence *fence); | 320 | unsigned num_gpu_pages, struct radeon_fence *fence); |
@@ -334,7 +334,7 @@ extern int r600_get_pcie_lanes(struct radeon_device *rdev); | |||
334 | bool r600_card_posted(struct radeon_device *rdev); | 334 | bool r600_card_posted(struct radeon_device *rdev); |
335 | void r600_cp_stop(struct radeon_device *rdev); | 335 | void r600_cp_stop(struct radeon_device *rdev); |
336 | int r600_cp_start(struct radeon_device *rdev); | 336 | int r600_cp_start(struct radeon_device *rdev); |
337 | void r600_ring_init(struct radeon_device *rdev, struct radeon_cp *cp, unsigned ring_size); | 337 | void r600_ring_init(struct radeon_device *rdev, struct radeon_ring *cp, unsigned ring_size); |
338 | int r600_cp_resume(struct radeon_device *rdev); | 338 | int r600_cp_resume(struct radeon_device *rdev); |
339 | void r600_cp_fini(struct radeon_device *rdev); | 339 | void r600_cp_fini(struct radeon_device *rdev); |
340 | int r600_count_pipe_bits(uint32_t val); | 340 | int r600_count_pipe_bits(uint32_t val); |
@@ -403,7 +403,7 @@ int evergreen_init(struct radeon_device *rdev); | |||
403 | void evergreen_fini(struct radeon_device *rdev); | 403 | void evergreen_fini(struct radeon_device *rdev); |
404 | int evergreen_suspend(struct radeon_device *rdev); | 404 | int evergreen_suspend(struct radeon_device *rdev); |
405 | int evergreen_resume(struct radeon_device *rdev); | 405 | int evergreen_resume(struct radeon_device *rdev); |
406 | bool evergreen_gpu_is_lockup(struct radeon_device *rdev, struct radeon_cp *cp); | 406 | bool evergreen_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *cp); |
407 | int evergreen_asic_reset(struct radeon_device *rdev); | 407 | int evergreen_asic_reset(struct radeon_device *rdev); |
408 | void evergreen_bandwidth_update(struct radeon_device *rdev); | 408 | void evergreen_bandwidth_update(struct radeon_device *rdev); |
409 | void evergreen_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); | 409 | void evergreen_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); |
@@ -434,7 +434,7 @@ int cayman_init(struct radeon_device *rdev); | |||
434 | void cayman_fini(struct radeon_device *rdev); | 434 | void cayman_fini(struct radeon_device *rdev); |
435 | int cayman_suspend(struct radeon_device *rdev); | 435 | int cayman_suspend(struct radeon_device *rdev); |
436 | int cayman_resume(struct radeon_device *rdev); | 436 | int cayman_resume(struct radeon_device *rdev); |
437 | bool cayman_gpu_is_lockup(struct radeon_device *rdev, struct radeon_cp *cp); | 437 | bool cayman_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *cp); |
438 | int cayman_asic_reset(struct radeon_device *rdev); | 438 | int cayman_asic_reset(struct radeon_device *rdev); |
439 | 439 | ||
440 | #endif | 440 | #endif |