Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vcn.c703 struct amdgpu_vcn_decode_buffer *decode_buffer = NULL; in amdgpu_vcn_dec_sw_send_msg() local
735 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&(ib->ptr[ib->length_dw]); in amdgpu_vcn_dec_sw_send_msg()
737 memset(decode_buffer, 0, sizeof(struct amdgpu_vcn_decode_buffer)); in amdgpu_vcn_dec_sw_send_msg()
739 decode_buffer->valid_buf_flag |= cpu_to_le32(AMDGPU_VCN_CMD_FLAG_MSG_BUFFER); in amdgpu_vcn_dec_sw_send_msg()
740 decode_buffer->msg_buffer_address_hi = cpu_to_le32(addr >> 32); in amdgpu_vcn_dec_sw_send_msg()
741 decode_buffer->msg_buffer_address_lo = cpu_to_le32(addr); in amdgpu_vcn_dec_sw_send_msg()
H A 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()