diff options
| author | Guchun Chen <[email protected]> | 2023-05-12 08:04:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:57:07 +0000 |
| commit | 61c31b8b6c5e386a9c2ddc4e2cf9d8ae46c8a1f9 (patch) | |
| tree | 3a899e9fc5edc0c8e864e0005dcd751b4607d12f /drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | |
| parent | drm/amd/pm: resolve reboot exception for si oland (diff) | |
| download | kernel-61c31b8b6c5e386a9c2ddc4e2cf9d8ae46c8a1f9.tar.gz kernel-61c31b8b6c5e386a9c2ddc4e2cf9d8ae46c8a1f9.zip | |
drm/amdgpu/sdma: set sched.ready status after ring/IB test in sdma
sched.ready is nothing with ring initialization, it needs to set
to be true after ring/IB test in amdgpu_ring_test_helper to tell
the ring is ready for submission.
Signed-off-by: Guchun Chen <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c index e572389089d2..344202870aeb 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c @@ -734,8 +734,6 @@ static int sdma_v3_0_gfx_resume(struct amdgpu_device *adev) #endif /* enable DMA IBs */ WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); - - ring->sched.ready = true; } /* unhalt the MEs */ |
