Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c3197 struct psp_gfx_rb_frame *write_frame; in psp_ring_cmd_submit() local
3213 write_frame = ring_buffer_start; in psp_ring_cmd_submit()
3215 write_frame = ring_buffer_start + (psp_write_ptr_reg / rb_frame_size_dw); in psp_ring_cmd_submit()
3217 if ((write_frame < ring_buffer_start) || (ring_buffer_end < write_frame)) { in psp_ring_cmd_submit()
3220 ring_buffer_start, ring_buffer_end, write_frame); in psp_ring_cmd_submit()
3227 memset(write_frame, 0, sizeof(struct psp_gfx_rb_frame)); in psp_ring_cmd_submit()
3230 write_frame->cmd_buf_addr_hi = upper_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
3231 write_frame->cmd_buf_addr_lo = lower_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
3232 write_frame->fence_addr_hi = upper_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
3233 write_frame->fence_addr_lo = lower_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
[all …]