aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorJingwen Chen <Jingwen.Chen2@amd.com>2021-07-01 10:19:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-07-13 11:48:09 -0400
commit798c511548b946ae9ec123b0dfe197a5f29e63ec (patch)
tree21f96cd2114233c656d2507b22ff5667e0385a6b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parent1e7b5812f4890ad84058bbb6c4a5deddfb2c5b25 (diff)
drm/amdgpu: SRIOV flr_work should take write_lock
[Why] If flr_work takes read_lock, then other threads who takes read_lock can access hardware when host is doing vf flr. [How] flr_work should take write_lock to avoid this case. Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions