diff options
author | YuBiao Wang <YuBiao.Wang@amd.com> | 2021-08-17 17:36:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-18 18:23:00 -0400 |
commit | 691191a2f458e0176414cb5b3993b0c018cdc58c (patch) | |
tree | 97cc5a30fb2fe2e0ce25058b2e21e29b11340720 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
parent | ce97f37be8957a7f3f42eafaa9469b0ab941e63b (diff) |
drm/amd/amdgpu:flush ttm delayed work before cancel_sync
[Why]
In some cases when we unload driver, warning call trace
will show up in vram_mgr_fini which claims that LRU is not empty, caused
by the ttm bo inside delay deleted queue.
[How]
We should flush delayed work to make sure the delay deleting is done.
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
0 files changed, 0 insertions, 0 deletions