Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c2878 struct psp_gfx_rb_frame *write_frame; in psp_ring_cmd_submit() local
2894 write_frame = ring_buffer_start; in psp_ring_cmd_submit()
2896 write_frame = ring_buffer_start + (psp_write_ptr_reg / rb_frame_size_dw); in psp_ring_cmd_submit()
2898 if ((write_frame < ring_buffer_start) || (ring_buffer_end < write_frame)) { in psp_ring_cmd_submit()
2900 ring_buffer_start, ring_buffer_end, write_frame); in psp_ring_cmd_submit()
2906 memset(write_frame, 0, sizeof(struct psp_gfx_rb_frame)); in psp_ring_cmd_submit()
2909 write_frame->cmd_buf_addr_hi = upper_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2910 write_frame->cmd_buf_addr_lo = lower_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2911 write_frame->fence_addr_hi = upper_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
2912 write_frame->fence_addr_lo = lower_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
[all …]