drm/amdgpu: Skip virt_exchange_init on SDMA poison consumption
Subsystems (2)
PATCH 1/1 drm/amdgpu: Skip virt_exchange_init on SDMA poison consumption
From: Victor Skvortsov <[email protected]>
Host will initiate an FLR in SDMA poison consumption scenario. Guest should wait for FLR message to re-init data exchange.
--- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c +2 -1
@@ -444,7 +444,8 @@ static void xgpu_nv_ras_poison_handler(struct amdgpu_device *adev,amdgpu_virt_fini_data_exchange (adev);xgpu_nv_send_access_requests_with_param (adev,IDH_RAS_POISON , block,0 ,0 ); -amdgpu_virt_init_data_exchange (adev); +if (block !=AMDGPU_RAS_BLOCK__SDMA ) +amdgpu_virt_init_data_exchange (adev); } }
Signature · 1 line
2.25.1
[AMD Official Use Only - General]
-----Original Message-----
From: Skvortsov, Victor <[email protected]>
Sent: Tuesday, March 12, 2024 10:09 PM
To: Skvortsov, Victor <[email protected]>; Chai, Thomas <[email protected]>; Zhang, Hawking <[email protected]>; Luo, Zhigang <[email protected]>; [email protected]
Cc: Skvortsov, Victor <[email protected]>
Subject: [PATCH] drm/amdgpu: Skip virt_exchange_init on SDMA poison consumption
From: Victor Skvortsov <[email protected]>
Host will initiate an FLR in SDMA poison consumption scenario. Guest should wait for FLR message to re-init data exchange.
--- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c +2 -1
@@ -444,7 +444,8 @@ static void xgpu_nv_ras_poison_handler(struct amdgpu_device *adev,amdgpu_virt_fini_data_exchange (adev);xgpu_nv_send_access_requests_with_param (adev,IDH_RAS_POISON , block,0 ,0 ); -amdgpu_virt_init_data_exchange (adev); +if (block !=AMDGPU_RAS_BLOCK__SDMA ) +amdgpu_virt_init_data_exchange (adev); } }
--
2.25.1