Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_psp.c2962 struct psp_gfx_rb_frame *write_frame; in psp_ring_cmd_submit() local
2978 write_frame = ring_buffer_start; in psp_ring_cmd_submit()
2980 write_frame = ring_buffer_start + (psp_write_ptr_reg / rb_frame_size_dw); in psp_ring_cmd_submit()
2982 if ((write_frame < ring_buffer_start) || (ring_buffer_end < write_frame)) { in psp_ring_cmd_submit()
2984 ring_buffer_start, ring_buffer_end, write_frame); in psp_ring_cmd_submit()
2990 memset(write_frame, 0, sizeof(struct psp_gfx_rb_frame)); in psp_ring_cmd_submit()
2993 write_frame->cmd_buf_addr_hi = upper_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2994 write_frame->cmd_buf_addr_lo = lower_32_bits(cmd_buf_mc_addr); in psp_ring_cmd_submit()
2995 write_frame->fence_addr_hi = upper_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
2996 write_frame->fence_addr_lo = lower_32_bits(fence_mc_addr); in psp_ring_cmd_submit()
[all …]