Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vcn.c778 struct amdgpu_vcn_decode_buffer *decode_buffer = NULL; in amdgpu_vcn_dec_sw_send_msg() local
810 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&(ib->ptr[ib->length_dw]); in amdgpu_vcn_dec_sw_send_msg()
812 memset(decode_buffer, 0, sizeof(struct amdgpu_vcn_decode_buffer)); in amdgpu_vcn_dec_sw_send_msg()
814 decode_buffer->valid_buf_flag |= cpu_to_le32(AMDGPU_VCN_CMD_FLAG_MSG_BUFFER); in amdgpu_vcn_dec_sw_send_msg()
815 decode_buffer->msg_buffer_address_hi = cpu_to_le32(addr >> 32); in amdgpu_vcn_dec_sw_send_msg()
816 decode_buffer->msg_buffer_address_lo = cpu_to_le32(addr); in amdgpu_vcn_dec_sw_send_msg()
Dvcn_v4_0.c1695 struct amdgpu_vcn_decode_buffer *decode_buffer; in vcn_v4_0_ring_patch_cs_in_place() local
1711 decode_buffer = (struct amdgpu_vcn_decode_buffer *)&ib->ptr[10]; in vcn_v4_0_ring_patch_cs_in_place()
1713 if (!(decode_buffer->valid_buf_flag & 0x1)) in vcn_v4_0_ring_patch_cs_in_place()
1716 addr = ((u64)decode_buffer->msg_buffer_address_hi) << 32 | in vcn_v4_0_ring_patch_cs_in_place()
1717 decode_buffer->msg_buffer_address_lo; in vcn_v4_0_ring_patch_cs_in_place()