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.c2358 struct psp_gfx_rb_frame *write_frame; in psp_ring_cmd_submit() local
2374 write_frame = ring_buffer_start; in psp_ring_cmd_submit()
2376 write_frame = ring_buffer_start + (psp_write_ptr_reg / rb_frame_size_dw); in psp_ring_cmd_submit()
2378 if ((write_frame < ring_buffer_start) || (ring_buffer_end < write_frame)) { in psp_ring_cmd_submit()
2380 ring_buffer_start, ring_buffer_end, write_frame); in psp_ring_cmd_submit()
2386 memset(write_frame, 0, sizeof(struct psp_gfx_rb_frame)); in psp_ring_cmd_submit()
2389 write_frame->cmd_buf_addr_hi = upper_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2390 write_frame->cmd_buf_addr_lo = lower_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2391 write_frame->fence_addr_hi = upper_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
2392 write_frame->fence_addr_lo = lower_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
[all …]