[PATCH] drm/amdgpu: Remove wrong fini_data_exchange call
Victor Skvortsov
victor.skvortsov at amd.com
Fri May 17 17:11:19 UTC 2024
This call is already done inside amdgpu_device_pre_asic_reset.
If should_recover_gpu is false, then vf2pf worker thread is
permanently killed.
Signed-off-by: Victor Skvortsov <victor.skvortsov at amd.com>
---
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 2 --
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
index f4c47492e0cd..8b07328a4b7a 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
@@ -264,8 +264,6 @@ static void xgpu_ai_mailbox_flr_work(struct work_struct *work)
down_write(&adev->reset_domain->sem);
- amdgpu_virt_fini_data_exchange(adev);
-
xgpu_ai_mailbox_trans_msg(adev, IDH_READY_TO_RESET, 0, 0, 0);
do {
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
index 37b49a5ed2a1..8a2f2feb5130 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
@@ -297,8 +297,6 @@ static void xgpu_nv_mailbox_flr_work(struct work_struct *work)
down_write(&adev->reset_domain->sem);
- amdgpu_virt_fini_data_exchange(adev);
-
xgpu_nv_mailbox_trans_msg(adev, IDH_READY_TO_RESET, 0, 0, 0);
do {
--
2.34.1
More information about the amd-gfx
mailing list