summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2023-05-12 16:10:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 10:57:11 -0400
commit232f2431899cbe6c00c1350e35cfba91ea0c1c0b (patch)
treeab33bdb42eb55ace956848f71093915f1847e86b /drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
parent61c31b8b6c5e386a9c2ddc4e2cf9d8ae46c8a1f9 (diff)
downloadlinux-stable-232f2431899cbe6c00c1350e35cfba91ea0c1c0b.tar.gz
linux-stable-232f2431899cbe6c00c1350e35cfba91ea0c1c0b.tar.bz2
linux-stable-232f2431899cbe6c00c1350e35cfba91ea0c1c0b.zip
drm/amdgpu/gfx: set sched.ready status after ring/IB test in gfx
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 <guchun.chen@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
index c54bf0b38fe1..ed41a7862d9f 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
@@ -1845,7 +1845,6 @@ static int gfx_v9_4_3_xcc_kiq_resume(struct amdgpu_device *adev, int xcc_id)
amdgpu_bo_kunmap(ring->mqd_obj);
ring->mqd_ptr = NULL;
amdgpu_bo_unreserve(ring->mqd_obj);
- ring->sched.ready = true;
return 0;
}