commit | 1c62cf91e6ac32346b2dd3bb9d739219a9cc39d0 | [log] [tgz] |
---|---|---|
author | Chunming Zhou <David1.Zhou@amd.com> | Mon Jul 25 13:55:35 2016 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jul 29 14:37:06 2016 -0400 |
tree | a12aea43826052b3560aad21c2fa73e17e0a3e2d | |
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>