diff options
author | Yiqing Yao <yiqing.yao@amd.com> | 2022-05-05 18:12:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-06 16:56:41 -0400 |
commit | 98f561884683cdca65bec80ef4dddfc3fe7aca63 (patch) | |
tree | df17322615099d4d163974b0feffc1b1390fc679 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
parent | f333c9c6f5ae250ddc0835d0413f5f55bec0ade5 (diff) | |
download | linux-98f561884683cdca65bec80ef4dddfc3fe7aca63.tar.bz2 |
drm/amdgpu: flush delete wq after wait fence
[why]
lru_list not empty warning in sw fini during repeated device bind unbind.
There should be a amdgpu_fence_wait_empty() before the flush_delayed_work()
call as Christian suggested.
[how]
Move to do flush_delayed_work for ttm bo delayed delete wq after fence_driver_hw_fini.
Tested by: Yiqing Yao <yiqing.yao@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Yiqing Yao <yiqing.yao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions