Home
last modified time | relevance | path

Searched refs:amdgpu_ring (Results 1 – 25 of 103) sorted by relevance

12345

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.h32 struct amdgpu_ring;
63 #define to_amdgpu_ring(s) container_of((s), struct amdgpu_ring, sched)
125 void amdgpu_fence_driver_clear_job_fences(struct amdgpu_ring *ring);
126 void amdgpu_fence_driver_force_completion(struct amdgpu_ring *ring);
128 int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring);
129 int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring,
136 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **fence, struct amdgpu_job *job,
138 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s,
140 bool amdgpu_fence_process(struct amdgpu_ring *ring);
141 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring);
[all …]
Dvcn_v2_0.h27 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 …]
Damdgpu_vce.h48 struct amdgpu_ring ring[AMDGPU_MAX_VCE_RINGS];
67 void amdgpu_vce_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
69 void amdgpu_vce_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq,
71 int amdgpu_vce_ring_test_ring(struct amdgpu_ring *ring);
72 int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring, long timeout);
73 void amdgpu_vce_ring_begin_use(struct amdgpu_ring *ring);
74 void amdgpu_vce_ring_end_use(struct amdgpu_ring *ring);
75 unsigned amdgpu_vce_ring_get_emit_ib_size(struct amdgpu_ring *ring);
76 unsigned amdgpu_vce_ring_get_dma_frame_size(struct amdgpu_ring *ring);
Djpeg_v2_0.h48 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring);
49 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring);
50 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq,
52 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
54 void jpeg_v2_0_dec_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg,
56 void jpeg_v2_0_dec_ring_emit_vm_flush(struct amdgpu_ring *ring,
58 void jpeg_v2_0_dec_ring_emit_wreg(struct amdgpu_ring *ring, uint32_t reg, uint32_t val);
59 void jpeg_v2_0_dec_ring_nop(struct amdgpu_ring *ring, uint32_t count);
Dvcn_sw_ring.h32 void vcn_dec_sw_ring_emit_fence(struct amdgpu_ring *ring, u64 addr,
34 void vcn_dec_sw_ring_insert_end(struct amdgpu_ring *ring);
35 void vcn_dec_sw_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
37 void vcn_dec_sw_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg,
39 void vcn_dec_sw_ring_emit_vm_flush(struct amdgpu_ring *ring,
41 void vcn_dec_sw_ring_emit_wreg(struct amdgpu_ring *ring, uint32_t reg,
Damdgpu_uvd.h45 struct amdgpu_ring ring;
46 struct amdgpu_ring ring_enc[AMDGPU_MAX_UVD_ENC_RINGS];
79 int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
81 int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
88 void amdgpu_uvd_ring_begin_use(struct amdgpu_ring *ring);
89 void amdgpu_uvd_ring_end_use(struct amdgpu_ring *ring);
90 int amdgpu_uvd_ring_test_ib(struct amdgpu_ring *ring, long timeout);
Damdgpu_fence.c57 struct amdgpu_ring *ring;
101 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write()
117 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read()
141 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, struct amdgpu_job *job, in amdgpu_fence_emit()
223 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, in amdgpu_fence_emit_polling()
254 static void amdgpu_fence_schedule_fallback(struct amdgpu_ring *ring) in amdgpu_fence_schedule_fallback()
271 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process()
325 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback()
340 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty()
373 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, in amdgpu_fence_wait_polling()
[all …]
Damdgpu_gfx.h81 void (*kiq_set_resources)(struct amdgpu_ring *kiq_ring,
83 void (*kiq_map_queues)(struct amdgpu_ring *kiq_ring,
84 struct amdgpu_ring *ring);
85 void (*kiq_unmap_queues)(struct amdgpu_ring *kiq_ring,
86 struct amdgpu_ring *ring,
89 void (*kiq_query_status)(struct amdgpu_ring *kiq_ring,
90 struct amdgpu_ring *ring,
93 void (*kiq_invalidate_tlbs)(struct amdgpu_ring *kiq_ring,
108 struct amdgpu_ring ring;
316 struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS];
[all …]
Dvcn_sw_ring.c27 void vcn_dec_sw_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, in vcn_dec_sw_ring_emit_fence()
39 void vcn_dec_sw_ring_insert_end(struct amdgpu_ring *ring) in vcn_dec_sw_ring_insert_end()
44 void vcn_dec_sw_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, in vcn_dec_sw_ring_emit_ib()
56 void vcn_dec_sw_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg, in vcn_dec_sw_ring_emit_reg_wait()
65 void vcn_dec_sw_ring_emit_vm_flush(struct amdgpu_ring *ring, in vcn_dec_sw_ring_emit_vm_flush()
80 void vcn_dec_sw_ring_emit_wreg(struct amdgpu_ring *ring, uint32_t reg, in vcn_dec_sw_ring_emit_wreg()
Damdgpu_jpeg.h39 struct amdgpu_ring ring_dec;
66 void amdgpu_jpeg_ring_begin_use(struct amdgpu_ring *ring);
67 void amdgpu_jpeg_ring_end_use(struct amdgpu_ring *ring);
69 int amdgpu_jpeg_dec_ring_test_ring(struct amdgpu_ring *ring);
70 int amdgpu_jpeg_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout);
Djpeg_v1_0.c36 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 …]
Damdgpu_vcn.h233 struct amdgpu_ring ring_dec;
234 struct amdgpu_ring ring_enc[AMDGPU_VCN_MAX_ENC_RINGS];
376 void amdgpu_vcn_ring_begin_use(struct amdgpu_ring *ring);
377 void amdgpu_vcn_ring_end_use(struct amdgpu_ring *ring);
382 int amdgpu_vcn_dec_ring_test_ring(struct amdgpu_ring *ring);
383 int amdgpu_vcn_dec_ring_test_ib(struct amdgpu_ring *ring, long timeout);
384 int amdgpu_vcn_dec_sw_ring_test_ring(struct amdgpu_ring *ring);
385 int amdgpu_vcn_dec_sw_ring_test_ib(struct amdgpu_ring *ring, long timeout);
386 int amdgpu_vcn_unified_ring_test_ib(struct amdgpu_ring *ring, long timeout);
388 int amdgpu_vcn_enc_ring_test_ring(struct amdgpu_ring *ring);
[all …]
Damdgpu_ring.c61 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()
176 int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, in amdgpu_ring_init()
344 void amdgpu_ring_fini(struct amdgpu_ring *ring) in amdgpu_ring_fini()
388 void amdgpu_ring_emit_reg_write_reg_wait_helper(struct amdgpu_ring *ring, in amdgpu_ring_emit_reg_write_reg_wait_helper()
405 bool amdgpu_ring_soft_recovery(struct amdgpu_ring *ring, unsigned int vmid, in amdgpu_ring_soft_recovery()
436 struct amdgpu_ring *ring = file_inode(f)->i_private; in amdgpu_debugfs_ring_read()
[all …]
Damdgpu_sdma.h49 struct amdgpu_ring ring;
50 struct amdgpu_ring page;
116 amdgpu_sdma_get_instance_from_ring(struct amdgpu_ring *ring);
117 int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index);
118 uint64_t amdgpu_sdma_get_csa_mc_addr(struct amdgpu_ring *ring, unsigned vmid);
Djpeg_v2_0.c69 struct amdgpu_ring *ring; in jpeg_v2_0_sw_init()
131 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_hw_init()
314 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_start()
391 static uint64_t jpeg_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_rptr()
405 static uint64_t jpeg_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_wptr()
422 static void jpeg_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_set_wptr()
441 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_start()
459 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_end()
480 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v2_0_dec_ring_emit_fence()
531 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_ib()
[all …]
Duvd_v6_0.c77 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 …]
Dsi_dma.c41 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()
62 static void si_dma_ring_emit_ib(struct amdgpu_ring *ring, in si_dma_ring_emit_ib()
91 static void si_dma_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in si_dma_ring_emit_fence()
115 struct amdgpu_ring *ring; in si_dma_stop()
132 struct amdgpu_ring *ring; in si_dma_start()
201 static int si_dma_ring_test_ring(struct amdgpu_ring *ring) in si_dma_ring_test_ring()
252 static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout) in si_dma_ring_test_ib()
409 static void si_dma_ring_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) in si_dma_ring_pad_ib()
[all …]
Duvd_v7_0.c71 static uint64_t uvd_v7_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_rptr()
85 static uint64_t uvd_v7_0_enc_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_rptr()
102 static uint64_t uvd_v7_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_wptr()
116 static uint64_t uvd_v7_0_enc_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_wptr()
136 static void uvd_v7_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_set_wptr()
150 static void uvd_v7_0_enc_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_set_wptr()
175 static int uvd_v7_0_enc_ring_test_ring(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_test_ring()
216 static int uvd_v7_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_create_msg()
279 static int uvd_v7_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_destroy_msg()
339 static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v7_0_enc_ring_test_ib()
[all …]
Damdgpu_mes.h85 struct amdgpu_ring ring;
174 struct amdgpu_ring *ring;
188 struct amdgpu_ring *ring;
307 int amdgpu_mes_ctx_get_offs(struct amdgpu_ring *ring, unsigned int id_offs);
331 struct amdgpu_ring *ring,
347 struct amdgpu_ring **out);
349 struct amdgpu_ring *ring);
Dvcn_v1_0.c57 static void vcn_v1_0_ring_begin_use(struct amdgpu_ring *ring);
90 struct amdgpu_ring *ring; in vcn_v1_0_sw_init()
197 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_hw_init()
788 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode()
962 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode()
1214 struct amdgpu_ring *ring; in vcn_v1_0_pause_dpg_mode()
1379 static uint64_t vcn_v1_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_rptr()
1393 static uint64_t vcn_v1_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_wptr()
1407 static void vcn_v1_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_set_wptr()
1425 static void vcn_v1_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_start()
[all …]
Duvd_v3_1.c44 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()
Duvd_v4_2.c58 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()
Damdgpu_jpeg.c95 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()
Dsdma_v6_0.c104 static unsigned sdma_v6_0_ring_init_cond_exec(struct amdgpu_ring *ring) in sdma_v6_0_ring_init_cond_exec()
118 static void sdma_v6_0_ring_patch_cond_exec(struct amdgpu_ring *ring, in sdma_v6_0_ring_patch_cond_exec()
140 static uint64_t sdma_v6_0_ring_get_rptr(struct amdgpu_ring *ring) in sdma_v6_0_ring_get_rptr()
158 static uint64_t sdma_v6_0_ring_get_wptr(struct amdgpu_ring *ring) in sdma_v6_0_ring_get_wptr()
178 static void sdma_v6_0_ring_set_wptr(struct amdgpu_ring *ring) in sdma_v6_0_ring_set_wptr()
246 static void sdma_v6_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in sdma_v6_0_ring_insert_nop()
267 static void sdma_v6_0_ring_emit_ib(struct amdgpu_ring *ring, in sdma_v6_0_ring_emit_ib()
304 static void sdma_v6_0_ring_emit_mem_sync(struct amdgpu_ring *ring) in sdma_v6_0_ring_emit_mem_sync()
329 static void sdma_v6_0_ring_emit_hdp_flush(struct amdgpu_ring *ring) in sdma_v6_0_ring_emit_hdp_flush()
358 static void sdma_v6_0_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in sdma_v6_0_ring_emit_fence()
[all …]
Duvd_v5_0.c56 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()

12345