diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2021-12-17 21:05:15 +0300 |
---|---|---|
committer | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2022-02-09 20:15:23 +0300 |
commit | 54f329cc7a7a7ea265c45b206d45e3d09192aba7 (patch) | |
tree | 941038356cea01d8665b3e5bc428a93cae31dff0 /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | |
parent | 5fd8518d187ed03403a4d4f7f56f52c00b11c148 (diff) | |
download | linux-54f329cc7a7a7ea265c45b206d45e3d09192aba7.tar.xz |
drm/amdgpu: Serialize non TDR gpu recovery with TDRs
Use reset domain wq also for non TDR gpu recovery trigers
such as sysfs and RAS. We must serialize all possible
GPU recoveries to gurantee no concurrency there.
For TDR call the original recovery function directly since
it's already executed from within the wq. For others just
use a wrapper to qeueue work and wait on it to finish.
v2: Rename to amdgpu_recover_work_struct
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://www.spinics.net/lists/amd-gfx/msg74113.html
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
0 files changed, 0 insertions, 0 deletions