Home
last modified time | relevance | path

Searched refs:umsch (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umsch_mm.h119 int (*set_hw_resources)(struct amdgpu_umsch_mm *umsch);
120 int (*add_queue)(struct amdgpu_umsch_mm *umsch,
122 int (*remove_queue)(struct amdgpu_umsch_mm *umsch,
124 int (*set_regs)(struct amdgpu_umsch_mm *umsch);
125 int (*init_microcode)(struct amdgpu_umsch_mm *umsch);
126 int (*load_microcode)(struct amdgpu_umsch_mm *umsch);
127 int (*ring_init)(struct amdgpu_umsch_mm *umsch);
128 int (*ring_start)(struct amdgpu_umsch_mm *umsch);
129 int (*ring_stop)(struct amdgpu_umsch_mm *umsch);
130 int (*ring_fini)(struct amdgpu_umsch_mm *umsch);
[all …]
Dumsch_mm_v4_0.c48 static int umsch_mm_v4_0_load_microcode(struct amdgpu_umsch_mm *umsch) in umsch_mm_v4_0_load_microcode() argument
50 struct amdgpu_device *adev = umsch->ring.adev; in umsch_mm_v4_0_load_microcode()
54 r = amdgpu_umsch_mm_allocate_ucode_buffer(umsch); in umsch_mm_v4_0_load_microcode()
58 r = amdgpu_umsch_mm_allocate_ucode_data_buffer(umsch); in umsch_mm_v4_0_load_microcode()
62 umsch->cmd_buf_curr_ptr = umsch->cmd_buf_ptr; in umsch_mm_v4_0_load_microcode()
147 WREG32_SOC15_UMSCH(regVCN_MES_GP0_LO, lower_32_bits(umsch->log_gpu_addr)); in umsch_mm_v4_0_load_microcode()
148 WREG32_SOC15_UMSCH(regVCN_MES_GP0_HI, upper_32_bits(umsch->log_gpu_addr)); in umsch_mm_v4_0_load_microcode()
162 amdgpu_umsch_mm_psp_execute_cmd_buf(umsch); in umsch_mm_v4_0_load_microcode()
184 static void umsch_mm_v4_0_aggregated_doorbell_init(struct amdgpu_umsch_mm *umsch) in umsch_mm_v4_0_aggregated_doorbell_init() argument
186 struct amdgpu_device *adev = umsch->ring.adev; in umsch_mm_v4_0_aggregated_doorbell_init()
[all …]
Damdgpu_umsch_mm.c492 int amdgpu_umsch_mm_submit_pkt(struct amdgpu_umsch_mm *umsch, void *pkt, int ndws) in amdgpu_umsch_mm_submit_pkt() argument
494 struct amdgpu_ring *ring = &umsch->ring; in amdgpu_umsch_mm_submit_pkt()
505 int amdgpu_umsch_mm_query_fence(struct amdgpu_umsch_mm *umsch) in amdgpu_umsch_mm_query_fence() argument
507 struct amdgpu_ring *ring = &umsch->ring; in amdgpu_umsch_mm_query_fence()
523 struct amdgpu_umsch_mm *umsch = (struct amdgpu_umsch_mm *)ring; in umsch_mm_ring_set_wptr() local
529 WREG32(umsch->rb_wptr, ring->wptr << 2); in umsch_mm_ring_set_wptr()
534 struct amdgpu_umsch_mm *umsch = (struct amdgpu_umsch_mm *)ring; in umsch_mm_ring_get_rptr() local
537 return RREG32(umsch->rb_rptr); in umsch_mm_ring_get_rptr()
542 struct amdgpu_umsch_mm *umsch = (struct amdgpu_umsch_mm *)ring; in umsch_mm_ring_get_wptr() local
545 return RREG32(umsch->rb_wptr); in umsch_mm_ring_get_wptr()
[all …]
Dumsch_mm_v4_0.h28 void umsch_mm_v4_0_set_funcs(struct amdgpu_umsch_mm *umsch);