diff options
| author | Victor Skvortsov <[email protected]> | 2021-12-13 21:38:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-14 21:09:02 +0000 |
| commit | fa4a427d84f9b797970a3d5139d7645403e4e989 (patch) | |
| tree | fda41e1938cfb9893909e316c40f65ab9144e3a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: 3.2.166 (diff) | |
| download | kernel-fa4a427d84f9b797970a3d5139d7645403e4e989.tar.gz kernel-fa4a427d84f9b797970a3d5139d7645403e4e989.zip | |
drm/amdgpu: SRIOV flr_work should use down_write
Host initiated VF FLR may fail if someone else is
already holding a read_lock. Change from down_write_trylock
to down_write to guarantee the reset goes through.
Signed-off-by: Victor Skvortsov <[email protected]>
Reviewed by: Shaoyun.liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
