Searched refs:decode_buffer (Results 1 – 2 of 2) sorted by relevance
720 struct amdgpu_vcn_decode_buffer *decode_buffer = NULL; in amdgpu_vcn_dec_sw_send_msg() local752 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&(ib->ptr[ib->length_dw]); in amdgpu_vcn_dec_sw_send_msg()754 memset(decode_buffer, 0, sizeof(struct amdgpu_vcn_decode_buffer)); in amdgpu_vcn_dec_sw_send_msg()756 decode_buffer->valid_buf_flag |= cpu_to_le32(AMDGPU_VCN_CMD_FLAG_MSG_BUFFER); in amdgpu_vcn_dec_sw_send_msg()757 decode_buffer->msg_buffer_address_hi = cpu_to_le32(addr >> 32); in amdgpu_vcn_dec_sw_send_msg()758 decode_buffer->msg_buffer_address_lo = cpu_to_le32(addr); in amdgpu_vcn_dec_sw_send_msg()
1864 struct amdgpu_vcn_decode_buffer *decode_buffer; in vcn_v4_0_ring_patch_cs_in_place() local1881 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&ib->ptr[idx + 6]; in vcn_v4_0_ring_patch_cs_in_place()1883 if (!(decode_buffer->valid_buf_flag & 0x1)) in vcn_v4_0_ring_patch_cs_in_place()1886 addr = ((u64)decode_buffer->msg_buffer_address_hi) << 32 | in vcn_v4_0_ring_patch_cs_in_place()1887 decode_buffer->msg_buffer_address_lo; in vcn_v4_0_ring_patch_cs_in_place()