diff options
| author | Andrey Grodzovsky <[email protected]> | 2017-10-10 20:50:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-10-19 19:26:59 +0000 |
| commit | 0ae94444c08a0adf2fab4aab26be0646ee445a19 (patch) | |
| tree | d5bc47553183dfe5ec29a23fe3e7d78f1906fc2d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: Refactor amdgpu_cs_ib_vm_chunk and amdgpu_cs_ib_fill. (diff) | |
| download | kernel-0ae94444c08a0adf2fab4aab26be0646ee445a19.tar.gz kernel-0ae94444c08a0adf2fab4aab26be0646ee445a19.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
