diff options
| author | 2021-12-13 21:38:20 +0000 | |
|---|---|---|
| committer | 2021-12-14 16:09:02 -0500 | |
| commit | fa4a427d84f9b797970a3d5139d7645403e4e989 (patch) | |
| tree | fda41e1938cfb9893909e316c40f65ab9144e3a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: 3.2.166 (diff) | |
| download | wireguard-linux-fa4a427d84f9b797970a3d5139d7645403e4e989.tar.xz wireguard-linux-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 <victor.skvortsov@amd.com>
Reviewed by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
