projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8954c3f
)
drm/amdgpu: remove virt_init_data_exchange from poison consumption handler
author
Zhigang Luo
<Zhigang.Luo@amd.com>
Wed, 17 Apr 2024 14:59:58 +0000
(10:59 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 19 Apr 2024 03:47:26 +0000
(23:47 -0400)
Host will initiate an FLR for all poison consumption.
Guest should wait for FLR message to re-init data exchange.
Signed-off-by: Zhigang Luo <Zhigang.Luo@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
b/drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
index 89992c1c9a6269a5a1ee1cb041f93ef9ea2c070d..aba00d961627ba3ff5c8585d1054d84d6f86da68 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
@@
-446,8
+446,6
@@
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);
- if (block != AMDGPU_RAS_BLOCK__SDMA)
- amdgpu_virt_init_data_exchange(adev);
}
}