diff options
author | Monk Liu <Monk.Liu@amd.com> | 2020-06-29 17:32:16 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-02 12:02:55 -0400 |
commit | 2c738637bac1aa62fd0066e201d4acd7a7155bfb (patch) | |
tree | cbe98767f45928f4709429ef1a65f121e292b561 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | |
parent | 5d7c6f18d2a9262e6daf5dd8806961d32060c976 (diff) | |
download | linux-2c738637bac1aa62fd0066e201d4acd7a7155bfb.tar.bz2 |
drm/amdgpu: make IB test synchronize with init for SRIOV(v2)
issue:
originally we kickoff IB test asynchronously with driver's
init, thus
the IB test may still running when the driver loading
done (modprobe amdgpu done).
if we shutdown VM immediately after amdgpu driver
loaded then GPU may
hang because the IB test is still running
fix:
flush the delayed_init routine at the bottom of device_init
to avoid driver loading done prior to the IB test completes
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-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/amdgpu_trace.h')
0 files changed, 0 insertions, 0 deletions