Skip to contentSkip to conversation

drm/amdgpu: Remove the additional kfd pre reset call for sriov

PATCH In review shaoyunl 2 participants 2 messages Aug 18, 2022

Subsystems (2)
lore
Share & tools
lore

shaoyunl

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Remove the additional kfd pre reset call for sriov

The additional call is caused by merge conflict

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -2
index 4cd87dbb108c..d7eb23b8d692 100644
@@ -4417,8 +4417,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,
 retry:
 	amdgpu_amdkfd_pre_reset(adev);
 
-	amdgpu_amdkfd_pre_reset(adev);
-
 	if (from_hypervisor)
 		r = amdgpu_virt_request_full_gpu(adev, true);
 	else
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Am 2022-08-18 um 14:19 schrieb shaoyunl:

Quoted 3 lines

The additional call is caused by merge conflict

Quoted 17 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 --
  1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -2
index 4cd87dbb108c..d7eb23b8d692 100644
@@ -4417,8 +4417,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,
  retry:
  	amdgpu_amdkfd_pre_reset(adev);
 
-	amdgpu_amdkfd_pre_reset(adev);
-
  	if (from_hypervisor)
  		r = amdgpu_virt_request_full_gpu(adev, true);
  	else