diff options
author | 2022-07-20 15:04:18 -0400 | |
---|---|---|
committer | 2022-07-20 16:23:34 -0400 | |
commit | 90af0ca047f3049c4b46e902f432ad6ef1e2ded6 (patch) | |
tree | 1364ee72b102fa1b337e35a70be0788638bc6eca /scripts/generate_rust_analyzer.py | |
parent | drm/amdgpu: Remove one duplicated ef removal (diff) | |
download | wireguard-linux-90af0ca047f3049c4b46e902f432ad6ef1e2ded6.tar.xz wireguard-linux-90af0ca047f3049c4b46e902f432ad6ef1e2ded6.zip |
drm/amdgpu: Protect the amdgpu_bo_list list with a mutex v2
Protect the struct amdgpu_bo_list with a mutex. This is used during command
submission in order to avoid buffer object corruption as recorded in
the link below.
v2 (chk): Keep the mutex looked for the whole CS to avoid using the
list from multiple CS threads at the same time.
Suggested-by: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Cc: Vitaly Prosyak <Vitaly.Prosyak@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2048
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions