aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
diff options
context:
space:
mode:
authorChunming Zhou <[email protected]>2017-04-27 15:13:52 +0800
committerAlex Deucher <[email protected]>2017-04-28 17:33:14 -0400
commit10e709cb296c98424c03408d23e3addeddcd4088 (patch)
tree7d8da7f73eb37953ee163ccfd1412fd47e6ce4f7 /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
parent44eb8c1b33619abc35cba0266ff497c843bd108d (diff)
drm/amdgpu: fix deadlock of reservation between cs and gpu reset v2
the case could happen when gpu reset: 1. when gpu reset, cs can be continue until sw queue is full, then push job will wait with holding pd reservation. 2. gpu_reset routine will also need pd reservation to restore page table from their shadow. 3. cs is waiting for gpu_reset complete, but gpu reset is waiting for cs releases reservation. v2: handle amdgpu_cs_submit error path. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Monk Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
0 files changed, 0 insertions, 0 deletions