/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ring.h | 54 #define to_amdgpu_ring(s) container_of((s), struct amdgpu_ring, sched) 84 struct amdgpu_ring; 112 void amdgpu_fence_driver_force_completion(struct amdgpu_ring *ring); 114 int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring, 117 int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, 124 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **fence, struct amdgpu_job *job, 126 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, 128 bool amdgpu_fence_process(struct amdgpu_ring *ring); 129 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); 130 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, [all …]
|
D | vcn_v2_0.h | 27 extern void vcn_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring); 28 extern void vcn_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring); 29 extern void vcn_v2_0_dec_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count); 30 extern void vcn_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, 32 extern void vcn_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, 34 extern void vcn_v2_0_dec_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg, 36 extern void vcn_v2_0_dec_ring_emit_vm_flush(struct amdgpu_ring *ring, 38 extern void vcn_v2_0_dec_ring_emit_wreg(struct amdgpu_ring *ring, 40 extern int vcn_v2_0_dec_ring_test_ring(struct amdgpu_ring *ring); 42 extern void vcn_v2_0_enc_ring_insert_end(struct amdgpu_ring *ring); [all …]
|
D | jpeg_v2_0.h | 27 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring); 28 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring); 29 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, 31 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, 33 void jpeg_v2_0_dec_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg, 35 void jpeg_v2_0_dec_ring_emit_vm_flush(struct amdgpu_ring *ring, 37 void jpeg_v2_0_dec_ring_emit_wreg(struct amdgpu_ring *ring, uint32_t reg, uint32_t val); 38 void jpeg_v2_0_dec_ring_nop(struct amdgpu_ring *ring, uint32_t count);
|
D | amdgpu_vce.h | 48 struct amdgpu_ring ring[AMDGPU_MAX_VCE_RINGS]; 64 void amdgpu_vce_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, 66 void amdgpu_vce_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, 68 int amdgpu_vce_ring_test_ring(struct amdgpu_ring *ring); 69 int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring, long timeout); 70 void amdgpu_vce_ring_begin_use(struct amdgpu_ring *ring); 71 void amdgpu_vce_ring_end_use(struct amdgpu_ring *ring); 72 unsigned amdgpu_vce_ring_get_emit_ib_size(struct amdgpu_ring *ring); 73 unsigned amdgpu_vce_ring_get_dma_frame_size(struct amdgpu_ring *ring);
|
D | amdgpu_uvd.h | 45 struct amdgpu_ring ring; 46 struct amdgpu_ring ring_enc[AMDGPU_MAX_UVD_ENC_RINGS]; 78 int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, 80 int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, 85 void amdgpu_uvd_ring_begin_use(struct amdgpu_ring *ring); 86 void amdgpu_uvd_ring_end_use(struct amdgpu_ring *ring); 87 int amdgpu_uvd_ring_test_ib(struct amdgpu_ring *ring, long timeout);
|
D | amdgpu_fence.c | 56 struct amdgpu_ring *ring; 98 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write() 114 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read() 138 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, struct amdgpu_job *job, in amdgpu_fence_emit() 216 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, in amdgpu_fence_emit_polling() 247 static void amdgpu_fence_schedule_fallback(struct amdgpu_ring *ring) in amdgpu_fence_schedule_fallback() 264 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process() 324 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback() 339 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty() 372 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, in amdgpu_fence_wait_polling() [all …]
|
D | amdgpu_gfx.h | 83 void (*kiq_set_resources)(struct amdgpu_ring *kiq_ring, 85 void (*kiq_map_queues)(struct amdgpu_ring *kiq_ring, 86 struct amdgpu_ring *ring); 87 void (*kiq_unmap_queues)(struct amdgpu_ring *kiq_ring, 88 struct amdgpu_ring *ring, 91 void (*kiq_query_status)(struct amdgpu_ring *kiq_ring, 92 struct amdgpu_ring *ring, 95 void (*kiq_invalidate_tlbs)(struct amdgpu_ring *kiq_ring, 110 struct amdgpu_ring ring; 307 struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS]; [all …]
|
D | amdgpu_ring.c | 61 int amdgpu_ring_alloc(struct amdgpu_ring *ring, unsigned ndw) in amdgpu_ring_alloc() 89 void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in amdgpu_ring_insert_nop() 105 void amdgpu_ring_generic_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) in amdgpu_ring_generic_pad_ib() 120 void amdgpu_ring_commit(struct amdgpu_ring *ring) in amdgpu_ring_commit() 144 void amdgpu_ring_undo(struct amdgpu_ring *ring) in amdgpu_ring_undo() 166 int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, in amdgpu_ring_init() 283 void amdgpu_ring_fini(struct amdgpu_ring *ring) in amdgpu_ring_fini() 321 void amdgpu_ring_emit_reg_write_reg_wait_helper(struct amdgpu_ring *ring, in amdgpu_ring_emit_reg_write_reg_wait_helper() 338 bool amdgpu_ring_soft_recovery(struct amdgpu_ring *ring, unsigned int vmid, in amdgpu_ring_soft_recovery() 369 struct amdgpu_ring *ring = file_inode(f)->i_private; in amdgpu_debugfs_ring_read() [all …]
|
D | amdgpu_jpeg.h | 37 struct amdgpu_ring ring_dec; 58 void amdgpu_jpeg_ring_begin_use(struct amdgpu_ring *ring); 59 void amdgpu_jpeg_ring_end_use(struct amdgpu_ring *ring); 61 int amdgpu_jpeg_dec_ring_test_ring(struct amdgpu_ring *ring); 62 int amdgpu_jpeg_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout);
|
D | amdgpu_vcn.h | 213 struct amdgpu_ring ring_dec; 214 struct amdgpu_ring ring_enc[AMDGPU_VCN_MAX_ENC_RINGS]; 297 void amdgpu_vcn_ring_begin_use(struct amdgpu_ring *ring); 298 void amdgpu_vcn_ring_end_use(struct amdgpu_ring *ring); 303 int amdgpu_vcn_dec_ring_test_ring(struct amdgpu_ring *ring); 304 int amdgpu_vcn_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout); 305 int amdgpu_vcn_dec_sw_ring_test_ring(struct amdgpu_ring *ring); 306 int amdgpu_vcn_dec_sw_ring_test_ib(struct amdgpu_ring *ring, long timeout); 308 int amdgpu_vcn_enc_ring_test_ring(struct amdgpu_ring *ring); 309 int amdgpu_vcn_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout);
|
D | jpeg_v1_0.c | 36 static void jpeg_v1_0_ring_begin_use(struct amdgpu_ring *ring); 38 static void jpeg_v1_0_decode_ring_patch_wreg(struct amdgpu_ring *ring, uint32_t *ptr, uint32_t reg_… in jpeg_v1_0_decode_ring_patch_wreg() 53 static void jpeg_v1_0_decode_ring_set_patch_ring(struct amdgpu_ring *ring, uint32_t ptr) in jpeg_v1_0_decode_ring_set_patch_ring() 136 static uint64_t jpeg_v1_0_decode_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_rptr() 150 static uint64_t jpeg_v1_0_decode_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_wptr() 164 static void jpeg_v1_0_decode_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_set_wptr() 178 static void jpeg_v1_0_decode_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_start() 197 static void jpeg_v1_0_decode_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_end() 219 static void jpeg_v1_0_decode_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v1_0_decode_ring_emit_fence() 293 static void jpeg_v1_0_decode_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_ib() [all …]
|
D | amdgpu_sdma.h | 48 struct amdgpu_ring ring; 49 struct amdgpu_ring page; 120 amdgpu_sdma_get_instance_from_ring(struct amdgpu_ring *ring); 121 int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index); 122 uint64_t amdgpu_sdma_get_csa_mc_addr(struct amdgpu_ring *ring, unsigned vmid);
|
D | jpeg_v2_0.c | 89 struct amdgpu_ring *ring; in jpeg_v2_0_sw_init() 151 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_hw_init() 334 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_start() 411 static uint64_t jpeg_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_rptr() 425 static uint64_t jpeg_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_wptr() 442 static void jpeg_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_set_wptr() 461 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_start() 479 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_end() 500 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v2_0_dec_ring_emit_fence() 551 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_ib() [all …]
|
D | uvd_v6_0.c | 77 static uint64_t uvd_v6_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_get_rptr() 91 static uint64_t uvd_v6_0_enc_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_get_rptr() 107 static uint64_t uvd_v6_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_get_wptr() 121 static uint64_t uvd_v6_0_enc_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_get_wptr() 138 static void uvd_v6_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_set_wptr() 152 static void uvd_v6_0_enc_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_set_wptr() 170 static int uvd_v6_0_enc_ring_test_ring(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_test_ring() 208 static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v6_0_enc_get_create_msg() 271 static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, in uvd_v6_0_enc_get_destroy_msg() 332 static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v6_0_enc_ring_test_ib() [all …]
|
D | si_dma.c | 41 static uint64_t si_dma_ring_get_rptr(struct amdgpu_ring *ring) in si_dma_ring_get_rptr() 46 static uint64_t si_dma_ring_get_wptr(struct amdgpu_ring *ring) in si_dma_ring_get_wptr() 54 static void si_dma_ring_set_wptr(struct amdgpu_ring *ring) in si_dma_ring_set_wptr() 63 static void si_dma_ring_emit_ib(struct amdgpu_ring *ring, in si_dma_ring_emit_ib() 92 static void si_dma_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in si_dma_ring_emit_fence() 116 struct amdgpu_ring *ring; in si_dma_stop() 134 struct amdgpu_ring *ring; in si_dma_start() 203 static int si_dma_ring_test_ring(struct amdgpu_ring *ring) in si_dma_ring_test_ring() 254 static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout) in si_dma_ring_test_ib() 411 static void si_dma_ring_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) in si_dma_ring_pad_ib() [all …]
|
D | sdma_v5_2.c | 202 static unsigned sdma_v5_2_ring_init_cond_exec(struct amdgpu_ring *ring) in sdma_v5_2_ring_init_cond_exec() 216 static void sdma_v5_2_ring_patch_cond_exec(struct amdgpu_ring *ring, in sdma_v5_2_ring_patch_cond_exec() 238 static uint64_t sdma_v5_2_ring_get_rptr(struct amdgpu_ring *ring) in sdma_v5_2_ring_get_rptr() 256 static uint64_t sdma_v5_2_ring_get_wptr(struct amdgpu_ring *ring) in sdma_v5_2_ring_get_wptr() 282 static void sdma_v5_2_ring_set_wptr(struct amdgpu_ring *ring) in sdma_v5_2_ring_set_wptr() 316 static void sdma_v5_2_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in sdma_v5_2_ring_insert_nop() 339 static void sdma_v5_2_ring_emit_ib(struct amdgpu_ring *ring, in sdma_v5_2_ring_emit_ib() 376 static void sdma_v5_2_ring_emit_mem_sync(struct amdgpu_ring *ring) in sdma_v5_2_ring_emit_mem_sync() 401 static void sdma_v5_2_ring_emit_hdp_flush(struct amdgpu_ring *ring) in sdma_v5_2_ring_emit_hdp_flush() 432 static void sdma_v5_2_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in sdma_v5_2_ring_emit_fence() [all …]
|
D | vcn_v1_0.c | 56 static void vcn_v1_0_ring_begin_use(struct amdgpu_ring *ring); 90 struct amdgpu_ring *ring; in vcn_v1_0_sw_init() 196 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_hw_init() 787 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode() 961 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode() 1218 struct amdgpu_ring *ring; in vcn_v1_0_pause_dpg_mode() 1383 static uint64_t vcn_v1_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_rptr() 1397 static uint64_t vcn_v1_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_wptr() 1411 static void vcn_v1_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_set_wptr() 1429 static void vcn_v1_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_start() [all …]
|
D | amdgpu_jpeg.c | 95 void amdgpu_jpeg_ring_begin_use(struct amdgpu_ring *ring) in amdgpu_jpeg_ring_begin_use() 108 void amdgpu_jpeg_ring_end_use(struct amdgpu_ring *ring) in amdgpu_jpeg_ring_end_use() 114 int amdgpu_jpeg_dec_ring_test_ring(struct amdgpu_ring *ring) in amdgpu_jpeg_dec_ring_test_ring() 143 static int amdgpu_jpeg_dec_set_reg(struct amdgpu_ring *ring, uint32_t handle, in amdgpu_jpeg_dec_set_reg() 183 int amdgpu_jpeg_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout) in amdgpu_jpeg_dec_ring_test_ib()
|
D | sdma_v2_4.c | 194 static uint64_t sdma_v2_4_ring_get_rptr(struct amdgpu_ring *ring) in sdma_v2_4_ring_get_rptr() 207 static uint64_t sdma_v2_4_ring_get_wptr(struct amdgpu_ring *ring) in sdma_v2_4_ring_get_wptr() 222 static void sdma_v2_4_ring_set_wptr(struct amdgpu_ring *ring) in sdma_v2_4_ring_set_wptr() 229 static void sdma_v2_4_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in sdma_v2_4_ring_insert_nop() 252 static void sdma_v2_4_ring_emit_ib(struct amdgpu_ring *ring, in sdma_v2_4_ring_emit_ib() 280 static void sdma_v2_4_ring_emit_hdp_flush(struct amdgpu_ring *ring) in sdma_v2_4_ring_emit_hdp_flush() 312 static void sdma_v2_4_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in sdma_v2_4_ring_emit_fence() 345 struct amdgpu_ring *sdma0 = &adev->sdma.instance[0].ring; in sdma_v2_4_gfx_stop() 346 struct amdgpu_ring *sdma1 = &adev->sdma.instance[1].ring; in sdma_v2_4_gfx_stop() 414 struct amdgpu_ring *ring; in sdma_v2_4_gfx_resume() [all …]
|
D | uvd_v7_0.c | 70 static uint64_t uvd_v7_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_rptr() 84 static uint64_t uvd_v7_0_enc_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_rptr() 101 static uint64_t uvd_v7_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_wptr() 115 static uint64_t uvd_v7_0_enc_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_wptr() 135 static void uvd_v7_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_set_wptr() 149 static void uvd_v7_0_enc_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_set_wptr() 174 static int uvd_v7_0_enc_ring_test_ring(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_test_ring() 215 static int uvd_v7_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_create_msg() 278 static int uvd_v7_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_destroy_msg() 338 static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v7_0_enc_ring_test_ib() [all …]
|
D | uvd_v4_2.c | 58 static uint64_t uvd_v4_2_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v4_2_ring_get_rptr() 72 static uint64_t uvd_v4_2_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v4_2_ring_get_wptr() 86 static void uvd_v4_2_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v4_2_ring_set_wptr() 106 struct amdgpu_ring *ring; in uvd_v4_2_sw_init() 159 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v4_2_hw_init() 280 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v4_2_start() 472 static void uvd_v4_2_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in uvd_v4_2_ring_emit_fence() 501 static int uvd_v4_2_ring_test_ring(struct amdgpu_ring *ring) in uvd_v4_2_ring_test_ring() 539 static void uvd_v4_2_ring_emit_ib(struct amdgpu_ring *ring, in uvd_v4_2_ring_emit_ib() 550 static void uvd_v4_2_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in uvd_v4_2_ring_insert_nop()
|
D | uvd_v3_1.c | 44 static uint64_t uvd_v3_1_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v3_1_ring_get_rptr() 58 static uint64_t uvd_v3_1_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v3_1_ring_get_wptr() 72 static void uvd_v3_1_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v3_1_ring_set_wptr() 89 static void uvd_v3_1_ring_emit_ib(struct amdgpu_ring *ring, in uvd_v3_1_ring_emit_ib() 110 static void uvd_v3_1_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in uvd_v3_1_ring_emit_fence() 139 static int uvd_v3_1_ring_test_ring(struct amdgpu_ring *ring) in uvd_v3_1_ring_test_ring() 167 static void uvd_v3_1_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in uvd_v3_1_ring_insert_nop() 322 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v3_1_start() 547 struct amdgpu_ring *ring; in uvd_v3_1_sw_init() 633 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v3_1_hw_init()
|
D | cik_sdma.c | 163 static uint64_t cik_sdma_ring_get_rptr(struct amdgpu_ring *ring) in cik_sdma_ring_get_rptr() 179 static uint64_t cik_sdma_ring_get_wptr(struct amdgpu_ring *ring) in cik_sdma_ring_get_wptr() 193 static void cik_sdma_ring_set_wptr(struct amdgpu_ring *ring) in cik_sdma_ring_set_wptr() 201 static void cik_sdma_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in cik_sdma_ring_insert_nop() 224 static void cik_sdma_ring_emit_ib(struct amdgpu_ring *ring, in cik_sdma_ring_emit_ib() 249 static void cik_sdma_ring_emit_hdp_flush(struct amdgpu_ring *ring) in cik_sdma_ring_emit_hdp_flush() 280 static void cik_sdma_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in cik_sdma_ring_emit_fence() 312 struct amdgpu_ring *sdma0 = &adev->sdma.instance[0].ring; in cik_sdma_gfx_stop() 313 struct amdgpu_ring *sdma1 = &adev->sdma.instance[1].ring; in cik_sdma_gfx_stop() 436 struct amdgpu_ring *ring; in cik_sdma_gfx_resume() [all …]
|
D | uvd_v5_0.c | 56 static uint64_t uvd_v5_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v5_0_ring_get_rptr() 70 static uint64_t uvd_v5_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v5_0_ring_get_wptr() 84 static void uvd_v5_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v5_0_ring_set_wptr() 104 struct amdgpu_ring *ring; in uvd_v5_0_sw_init() 155 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v5_0_hw_init() 317 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v5_0_start() 488 static void uvd_v5_0_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in uvd_v5_0_ring_emit_fence() 517 static int uvd_v5_0_ring_test_ring(struct amdgpu_ring *ring) in uvd_v5_0_ring_test_ring() 554 static void uvd_v5_0_ring_emit_ib(struct amdgpu_ring *ring, in uvd_v5_0_ring_emit_ib() 567 static void uvd_v5_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in uvd_v5_0_ring_insert_nop()
|
D | vcn_v2_0.c | 94 struct amdgpu_ring *ring; in vcn_v2_0_sw_init() 226 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_hw_init() 795 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_dpg_mode() 932 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start() 1201 struct amdgpu_ring *ring; in vcn_v2_0_pause_dpg_mode() 1321 static uint64_t vcn_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_get_rptr() 1335 static uint64_t vcn_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_get_wptr() 1352 static void vcn_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_set_wptr() 1375 void vcn_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_insert_start() 1392 void vcn_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_insert_end() [all …]
|