diff options
author | Emily Deng <Emily.Deng@amd.com> | 2021-03-04 19:30:51 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-05 15:12:35 -0500 |
commit | bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46 (patch) | |
tree | c725a2c3d1b503683a8bb7cac7dad1205cb73531 /drivers/gpu/drm/amd/amdgpu/uvd_v4_2.h | |
parent | 3c73683c2394891ef3076718fbdba162040bedf1 (diff) | |
download | linux-bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46.tar.bz2 |
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/uvd_v4_2.h')
0 files changed, 0 insertions, 0 deletions