Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4c18442e authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Oded Gabbay
Browse files

drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy()



If timeout happens, kgd_hqd_destroy() just returns -ETIME leaving queue
acquired.
It may cause a deadlock, so the patch proposes to release queue before return.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@amd.com>
parent 030e416b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment