diff options
| author | Emily Deng <[email protected]> | 2021-03-04 19:30:51 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-05 15:12:35 -0500 |
| commit | bb0cd09be45ea457f25fdcbcb3d6cf2230f26c46 (patch) | |
| tree | c725a2c3d1b503683a8bb7cac7dad1205cb73531 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | 3c73683c2394891ef3076718fbdba162040bedf1 (diff) | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions