Commit 7c55b598 authored by Vignesh Chander's avatar Vignesh Chander Committed by Alex Deucher

drm/amdgpu: skip set_topology_info for VF

Skip set_topology_info as xgmi TA will now block it
and host needs to program it.
Signed-off-by: default avatarVignesh Chander <Vignesh.Chander@amd.com>
Reviewed-By : Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 345c0bc0
...@@ -504,6 +504,9 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev ...@@ -504,6 +504,9 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev
{ {
int ret; int ret;
if (amdgpu_sriov_vf(adev))
return 0;
/* Each psp need to set the latest topology */ /* Each psp need to set the latest topology */
ret = psp_xgmi_set_topology_info(&adev->psp, ret = psp_xgmi_set_topology_info(&adev->psp,
atomic_read(&hive->number_devices), atomic_read(&hive->number_devices),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment