commit | 0ae94444c08a0adf2fab4aab26be0646ee445a19 | [log] [tgz] |
---|---|---|
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | Tue Oct 10 16:50:17 2017 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 19 15:26:59 2017 -0400 |
tree | d5bc47553183dfe5ec29a23fe3e7d78f1906fc2d | |
parent | ad864d243826cedc53404a1c0db7d1e38ddceb84 [diff] |
drm/amdgpu: Move old fence waiting before reservation lock is aquired v2 Helps avoiding deadlock during GPU reset. Added mutex to amdgpu_ctx to preserve order of fences on a ring. v2: Put waiting logic in a function in a seperate function in amdgpu_ctx.c Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>