Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dvcn_v4_0.c1263 struct amdgpu_vcn_rb_metadata *rb_metadata = NULL; in vcn_v4_0_init_ring_metadata() local
1267 rb_metadata = (struct amdgpu_vcn_rb_metadata *)rb_ptr; in vcn_v4_0_init_ring_metadata()
1269 memset(rb_metadata, 0, sizeof(struct amdgpu_vcn_rb_metadata)); in vcn_v4_0_init_ring_metadata()
1270 rb_metadata->size = sizeof(struct amdgpu_vcn_rb_metadata); in vcn_v4_0_init_ring_metadata()
1271 rb_metadata->present_flag_0 |= cpu_to_le32(AMDGPU_VCN_VF_RB_SETUP_FLAG); in vcn_v4_0_init_ring_metadata()
1272 rb_metadata->present_flag_0 |= cpu_to_le32(AMDGPU_VCN_VF_RB_DECOUPLE_FLAG); in vcn_v4_0_init_ring_metadata()
1273 rb_metadata->version = 1; in vcn_v4_0_init_ring_metadata()
1274 rb_metadata->ring_id = vcn_inst & 0xFF; in vcn_v4_0_init_ring_metadata()