diff options
author | 2016-07-25 13:55:35 +0800 | |
---|---|---|
committer | 2016-07-29 14:37:06 -0400 | |
commit | 1c62cf91e6ac32346b2dd3bb9d739219a9cc39d0 (patch) | |
tree | a12aea43826052b3560aad21c2fa73e17e0a3e2d /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | drm/amd: reset hw count when reset job (diff) | |
download | linux-dev-1c62cf91e6ac32346b2dd3bb9d739219a9cc39d0.tar.xz linux-dev-1c62cf91e6ac32346b2dd3bb9d739219a9cc39d0.zip |
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_ib.c')
0 files changed, 0 insertions, 0 deletions