diff options
| author | Alexey Khoroshilov <[email protected]> | 2015-01-03 23:31:20 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2015-01-03 23:31:20 +0000 |
| commit | 4c18442e536ec24cc5ca23c5bbaa80bd53020b95 (patch) | |
| tree | c942776401f270bbebc58f8c0a009d869af61413 /lib/mpi/mpi-cmp.c | |
| parent | drm/amdkfd: Load mqd to hqd in non-HWS mode (diff) | |
| download | kernel-4c18442e536ec24cc5ca23c5bbaa80bd53020b95.tar.gz kernel-4c18442e536ec24cc5ca23c5bbaa80bd53020b95.zip | |
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: Alexey Khoroshilov <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
