diff options
author | 2021-03-04 19:30:51 +0800 | |
---|---|---|
committer | 2021-03-05 15:12:35 -0500 | |
commit | bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46 (patch) | |
tree | c725a2c3d1b503683a8bb7cac7dad1205cb73531 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | drm/amd/amdgpu: add fini virt data exchange to ip_suspend (diff) | |
download | linux-dev-bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46.tar.xz linux-dev-bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46.zip |
drm/amdgpu: Fix some unload driver issues
When unloading driver after killing some applications, it will hit sdma
flush tlb job timeout which is called by ttm_bo_delay_delete. So
to avoid the job submit after fence driver fini, call ttm_bo_lock_delayed_workqueue
before fence driver fini. And also put drm_sched_fini before waiting fence.
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions