diff options
author | Victor Skvortsov <[email protected]> | 2021-12-13 21:38:20 +0000 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-12-14 16:09:02 -0500 |
commit | fa4a427d84f9b797970a3d5139d7645403e4e989 (patch) | |
tree | fda41e1938cfb9893909e316c40f65ab9144e3a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | b4acd97bf827122bd333a4d043c275a4eb9db905 (diff) |
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