Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c537 struct amd_sriov_msg_pf2vf_info_header *pf2vf_info = adev->virt.fw_reserve.p_pf2vf; in amdgpu_virt_read_pf2vf_data() local
550 if (pf2vf_info->size > 1024) { in amdgpu_virt_read_pf2vf_data()
551 dev_err(adev->dev, "invalid pf2vf message size: 0x%x\n", pf2vf_info->size); in amdgpu_virt_read_pf2vf_data()
555 switch (pf2vf_info->version) { in amdgpu_virt_read_pf2vf_data()
557 pf2vf_v1 = (struct amdgim_pf2vf_info_v1 *)pf2vf_info; in amdgpu_virt_read_pf2vf_data()
560 adev->virt.fw_reserve.p_pf2vf, pf2vf_info->size, in amdgpu_virt_read_pf2vf_data()
573 pf2vf = (struct amd_sriov_msg_pf2vf_info *)pf2vf_info; in amdgpu_virt_read_pf2vf_data()
576 adev->virt.fw_reserve.p_pf2vf, pf2vf_info->size, in amdgpu_virt_read_pf2vf_data()
622 dev_err(adev->dev, "invalid pf2vf version: 0x%x\n", pf2vf_info->version); in amdgpu_virt_read_pf2vf_data()