Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c2345 struct psp_gfx_rb_frame *write_frame; in psp_ring_cmd_submit() local
2361 write_frame = ring_buffer_start; in psp_ring_cmd_submit()
2363 write_frame = ring_buffer_start + (psp_write_ptr_reg / rb_frame_size_dw); in psp_ring_cmd_submit()
2365 if ((write_frame < ring_buffer_start) || (ring_buffer_end < write_frame)) { in psp_ring_cmd_submit()
2367 ring_buffer_start, ring_buffer_end, write_frame); in psp_ring_cmd_submit()
2373 memset(write_frame, 0, sizeof(struct psp_gfx_rb_frame)); in psp_ring_cmd_submit()
2376 write_frame->cmd_buf_addr_hi = upper_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2377 write_frame->cmd_buf_addr_lo = lower_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2378 write_frame->fence_addr_hi = upper_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
2379 write_frame->fence_addr_lo = lower_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
[all …]