/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ring.h | 86 struct amdgpu_ring; 153 u64 (*get_rptr)(struct amdgpu_ring *ring); 154 u64 (*get_wptr)(struct amdgpu_ring *ring); 155 void (*set_wptr)(struct amdgpu_ring *ring); 163 void (*emit_ib)(struct amdgpu_ring *ring, 178 int (*test_ring)(struct amdgpu_ring *ring); 189 void (*begin_use)(struct amdgpu_ring *ring); 190 void (*end_use)(struct amdgpu_ring *ring); 205 int (*preempt_ib)(struct amdgpu_ring *ring); 210 struct amdgpu_ring { struct [all …]
|
A 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); 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); 43 extern void vcn_v2_0_enc_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, 47 extern void vcn_v2_0_enc_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg, [all …]
|
A 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);
|
A D | jpeg_v2_0.h | 47 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring); 48 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring); 49 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, 51 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, 53 void jpeg_v2_0_dec_ring_emit_reg_wait(struct amdgpu_ring *ring, uint32_t reg, 55 void jpeg_v2_0_dec_ring_emit_vm_flush(struct amdgpu_ring *ring, 57 void jpeg_v2_0_dec_ring_emit_wreg(struct amdgpu_ring *ring, uint32_t reg, uint32_t val); 58 void jpeg_v2_0_dec_ring_nop(struct amdgpu_ring *ring, uint32_t count);
|
A D | amdgpu_uvd.h | 45 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, 86 void amdgpu_uvd_ring_begin_use(struct amdgpu_ring *ring); 87 void amdgpu_uvd_ring_end_use(struct amdgpu_ring *ring); 88 int amdgpu_uvd_ring_test_ib(struct amdgpu_ring *ring, long timeout);
|
A D | amdgpu_gfx.h | 82 void (*kiq_set_resources)(struct amdgpu_ring *kiq_ring, 84 void (*kiq_map_queues)(struct amdgpu_ring *kiq_ring, 85 struct amdgpu_ring *ring); 86 void (*kiq_unmap_queues)(struct amdgpu_ring *kiq_ring, 87 struct amdgpu_ring *ring, 90 void (*kiq_query_status)(struct amdgpu_ring *kiq_ring, 91 struct amdgpu_ring *ring, 109 struct amdgpu_ring ring; 306 struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS]; 368 struct amdgpu_ring *ring, [all …]
|
A D | amdgpu_fence.c | 56 struct amdgpu_ring *ring; 116 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read() 265 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process() 319 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback() 334 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty() 417 int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, in amdgpu_fence_driver_start_ring() 455 int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring, in amdgpu_fence_driver_init_ring() 545 struct amdgpu_ring *ring = adev->rings[i]; in amdgpu_fence_driver_hw_fini() 572 struct amdgpu_ring *ring = adev->rings[i]; in amdgpu_fence_driver_sw_fini() 605 struct amdgpu_ring *ring = adev->rings[i]; in amdgpu_fence_driver_hw_init() [all …]
|
A 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() 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() 419 struct amdgpu_ring *ring) in amdgpu_debugfs_ring_init() [all …]
|
A 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);
|
A 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);
|
A D | jpeg_v1_0.c | 36 static void jpeg_v1_0_ring_begin_use(struct amdgpu_ring *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() 293 static void jpeg_v1_0_decode_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_ib() 391 static void jpeg_v1_0_decode_ring_emit_wreg(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_wreg() 479 struct amdgpu_ring *ring; in jpeg_v1_0_sw_init() 524 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v1_0_start() [all …]
|
A 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);
|
A D | jpeg_v2_0.c | 69 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() 531 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_ib() 609 void jpeg_v2_0_dec_ring_emit_vm_flush(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_vm_flush() [all …]
|
A 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() 107 static uint64_t uvd_v6_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v6_0_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() 380 struct amdgpu_ring *ring; in uvd_v6_0_sw_init() 467 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v6_0_hw_init() 722 struct amdgpu_ring *ring = &adev->uvd.inst->ring; in uvd_v6_0_start() 980 static int uvd_v6_0_ring_test_ring(struct amdgpu_ring *ring) in uvd_v6_0_ring_test_ring() 1018 static void uvd_v6_0_ring_emit_ib(struct amdgpu_ring *ring, in uvd_v6_0_ring_emit_ib() [all …]
|
A 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() 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() 424 static void si_dma_ring_emit_pipeline_sync(struct amdgpu_ring *ring) in si_dma_ring_emit_pipeline_sync() 449 static void si_dma_ring_emit_vm_flush(struct amdgpu_ring *ring, in si_dma_ring_emit_vm_flush() 463 static void si_dma_ring_emit_wreg(struct amdgpu_ring *ring, in si_dma_ring_emit_wreg() [all …]
|
A 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() 101 static uint64_t uvd_v7_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_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() 399 struct amdgpu_ring *ring; in uvd_v7_0_sw_init() 521 struct amdgpu_ring *ring; in uvd_v7_0_hw_init() 783 struct amdgpu_ring *ring; in uvd_v7_0_sriov_start() 949 struct amdgpu_ring *ring; in uvd_v7_0_start() 1245 static int uvd_v7_0_ring_test_ring(struct amdgpu_ring *ring) in uvd_v7_0_ring_test_ring() [all …]
|
A D | vcn_v1_0.c | 56 static void vcn_v1_0_ring_begin_use(struct amdgpu_ring *ring); 89 struct amdgpu_ring *ring; in vcn_v1_0_sw_init() 189 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_hw_init() 780 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode() 954 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode() 1211 struct amdgpu_ring *ring; in vcn_v1_0_pause_dpg_mode() 1404 static void vcn_v1_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_set_wptr() 1501 static void vcn_v1_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in vcn_v1_0_dec_ring_emit_ib() 1665 static void vcn_v1_0_enc_ring_emit_ib(struct amdgpu_ring *ring, in vcn_v1_0_enc_ring_emit_ib() 1822 static void vcn_v1_0_ring_begin_use(struct amdgpu_ring *ring) in vcn_v1_0_ring_begin_use() [all …]
|
A 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()
|
A 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() 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() 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() 549 static int sdma_v2_4_ring_test_ring(struct amdgpu_ring *ring) in sdma_v2_4_ring_test_ring() 821 static void sdma_v2_4_ring_emit_wreg(struct amdgpu_ring *ring, in sdma_v2_4_ring_emit_wreg() [all …]
|
A D | sdma_v5_2.c | 238 static uint64_t sdma_v5_2_ring_get_rptr(struct amdgpu_ring *ring) in sdma_v5_2_ring_get_rptr() 282 static void sdma_v5_2_ring_set_wptr(struct amdgpu_ring *ring) in sdma_v5_2_ring_set_wptr() 339 static void sdma_v5_2_ring_emit_ib(struct amdgpu_ring *ring, in sdma_v5_2_ring_emit_ib() 474 struct amdgpu_ring *sdma0 = &adev->sdma.instance[0].ring; in sdma_v5_2_gfx_stop() 475 struct amdgpu_ring *sdma1 = &adev->sdma.instance[1].ring; in sdma_v5_2_gfx_stop() 476 struct amdgpu_ring *sdma2 = &adev->sdma.instance[2].ring; in sdma_v5_2_gfx_stop() 477 struct amdgpu_ring *sdma3 = &adev->sdma.instance[3].ring; in sdma_v5_2_gfx_stop() 598 struct amdgpu_ring *ring; in sdma_v5_2_gfx_resume() 903 static int sdma_v5_2_ring_test_ring(struct amdgpu_ring *ring) in sdma_v5_2_ring_test_ring() 1183 static void sdma_v5_2_ring_emit_wreg(struct amdgpu_ring *ring, in sdma_v5_2_ring_emit_wreg() [all …]
|
A 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()
|
A 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()
|
A 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() 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() 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() 615 static int cik_sdma_ring_test_ring(struct amdgpu_ring *ring) in cik_sdma_ring_test_ring() 880 static void cik_sdma_ring_emit_wreg(struct amdgpu_ring *ring, in cik_sdma_ring_emit_wreg() [all …]
|
A 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()
|
A D | vcn_v2_0.c | 93 struct amdgpu_ring *ring; in vcn_v2_0_sw_init() 219 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_hw_init() 788 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_dpg_mode() 925 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start() 1194 struct amdgpu_ring *ring; in vcn_v2_0_pause_dpg_mode() 1385 void vcn_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_insert_end() 1463 void vcn_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in vcn_v2_0_dec_ring_emit_ib() 1516 void vcn_v2_0_dec_ring_emit_wreg(struct amdgpu_ring *ring, in vcn_v2_0_dec_ring_emit_wreg() 1638 void vcn_v2_0_enc_ring_emit_ib(struct amdgpu_ring *ring, in vcn_v2_0_enc_ring_emit_ib() 1714 int vcn_v2_0_dec_ring_test_ring(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_test_ring() [all …]
|