Lines Matching refs:pf2vf_info
452 struct amd_sriov_msg_pf2vf_info_header *pf2vf_info = adev->virt.fw_reserve.p_pf2vf; in amdgpu_virt_read_pf2vf_data() local
462 if (pf2vf_info->size > 1024) { in amdgpu_virt_read_pf2vf_data()
463 dev_err(adev->dev, "invalid pf2vf message size: 0x%x\n", pf2vf_info->size); in amdgpu_virt_read_pf2vf_data()
467 switch (pf2vf_info->version) { in amdgpu_virt_read_pf2vf_data()
469 checksum = ((struct amdgim_pf2vf_info_v1 *)pf2vf_info)->checksum; in amdgpu_virt_read_pf2vf_data()
471 adev->virt.fw_reserve.p_pf2vf, pf2vf_info->size, in amdgpu_virt_read_pf2vf_data()
481 ((struct amdgim_pf2vf_info_v1 *)pf2vf_info)->feature_flags; in amdgpu_virt_read_pf2vf_data()
485 checksum = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->checksum; in amdgpu_virt_read_pf2vf_data()
487 adev->virt.fw_reserve.p_pf2vf, pf2vf_info->size, in amdgpu_virt_read_pf2vf_data()
497 ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->vf2pf_update_interval_ms; in amdgpu_virt_read_pf2vf_data()
499 ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->feature_flags.all; in amdgpu_virt_read_pf2vf_data()
501 ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->reg_access_flags.all; in amdgpu_virt_read_pf2vf_data()
509 …tmp = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->mm_bw_management[i].decode_max_dimension_pi… in amdgpu_virt_read_pf2vf_data()
512 …tmp = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->mm_bw_management[i].decode_max_frame_pixels; in amdgpu_virt_read_pf2vf_data()
515 …tmp = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->mm_bw_management[i].encode_max_dimension_pi… in amdgpu_virt_read_pf2vf_data()
518 …tmp = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->mm_bw_management[i].encode_max_frame_pixels; in amdgpu_virt_read_pf2vf_data()
525 ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->uuid; in amdgpu_virt_read_pf2vf_data()
526 adev->virt.ras_en_caps.all = ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->ras_en_caps.all; in amdgpu_virt_read_pf2vf_data()
528 ((struct amd_sriov_msg_pf2vf_info *)pf2vf_info)->ras_telemetry_en_caps.all; in amdgpu_virt_read_pf2vf_data()
531 dev_err(adev->dev, "invalid pf2vf version: 0x%x\n", pf2vf_info->version); in amdgpu_virt_read_pf2vf_data()