diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2016-07-25 13:55:35 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-29 14:37:06 -0400 |
commit | 1c62cf91e6ac32346b2dd3bb9d739219a9cc39d0 (patch) | |
tree | a12aea43826052b3560aad21c2fa73e17e0a3e2d /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | bdc2eea4722b96f54edb7588078540505b5ac096 (diff) |
drm/amd: fix deadlock of job_list_lock V2
run_job involves mutex, which could sleep.
V2: use list_for_each_entry_safe, since the job might complete
while we dropped the lock.
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
0 files changed, 0 insertions, 0 deletions