diff options
author | 2022-01-28 05:41:02 -0800 | |
---|---|---|
committer | 2022-02-01 08:25:51 -0100 | |
commit | e57c1a3bd5e8e0c7181f65ae55581f0236a8f284 (patch) | |
tree | 322c6d799e58ea850058a32ecd031b027bbc760c /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | dma-resv: some doc polish for iterators (diff) | |
download | wireguard-linux-e57c1a3bd5e8e0c7181f65ae55581f0236a8f284.tar.xz wireguard-linux-e57c1a3bd5e8e0c7181f65ae55581f0236a8f284.zip |
drm/v3d: fix missing unlock
[why]
Unlock is needed on the error handling path to prevent dead lock.
v3d_submit_cl_ioctl and v3d_submit_csd_ioctl is missing unlock.
[how]
Fix this by changing goto target on the error handling path. So
changing the goto to target an error handling path
that includes drm_gem_unlock reservations.
Signed-off-by: Yongzhi Liu <lyz_cs@pku.edu.cn>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1643377262-109975-1-git-send-email-lyz_cs@pku.edu.cn
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions