diff options
author | Victor Zhao <Victor.Zhao@amd.com> | 2024-08-26 00:14:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-29 13:39:07 -0400 |
commit | af76ca8e180f38a7d874c18cf810707762766627 (patch) | |
tree | e45e72d96c1958546a67c8069bc58a8cb185fda7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
parent | c67db6a6a6be4bb1db1b0fd5b24040d68e461cb1 (diff) |
drm/amd/amdgpu: move drain_workqueue before shutdown is set
[background] when unloading amdgpu driver right after running a
workload, drain_workqueue is causing "Fence fallback timer
expired on ring sdma0.0". Under sriov, this issue will cause sriov
full access timeout and a reset happening.
move drain_workqueue before shutdown is set to allow ih process and
before enter full access under sriov to avoid full access time cost.
Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions