Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c696 struct amdgpu_vcn_decode_buffer *decode_buffer = NULL; in amdgpu_vcn_dec_sw_send_msg() local
729 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&(ib->ptr[ib->length_dw]); in amdgpu_vcn_dec_sw_send_msg()
731 memset(decode_buffer, 0, sizeof(struct amdgpu_vcn_decode_buffer)); in amdgpu_vcn_dec_sw_send_msg()
733 decode_buffer->valid_buf_flag |= cpu_to_le32(AMDGPU_VCN_CMD_FLAG_MSG_BUFFER); in amdgpu_vcn_dec_sw_send_msg()
734 decode_buffer->msg_buffer_address_hi = cpu_to_le32(addr >> 32); in amdgpu_vcn_dec_sw_send_msg()
735 decode_buffer->msg_buffer_address_lo = cpu_to_le32(addr); in amdgpu_vcn_dec_sw_send_msg()
Dvcn_v4_0.c1773 struct amdgpu_vcn_decode_buffer *decode_buffer; in vcn_v4_0_ring_patch_cs_in_place() local
1790 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&ib->ptr[idx + 6]; in vcn_v4_0_ring_patch_cs_in_place()
1792 if (!(decode_buffer->valid_buf_flag & 0x1)) in vcn_v4_0_ring_patch_cs_in_place()
1795 addr = ((u64)decode_buffer->msg_buffer_address_hi) << 32 | in vcn_v4_0_ring_patch_cs_in_place()
1796 decode_buffer->msg_buffer_address_lo; in vcn_v4_0_ring_patch_cs_in_place()