summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2026-05-27 15:41:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:48:44 -0400
commite0a3aa8a6750e8cf067fe2146dc618ffd296d5ef (patch)
tree1ffd7285e6a44811f97ae755c353bf6167e84907 /drivers/gpu/drm/amd/amdgpu
parent5ac01ec854079ac95733ac9a8f3eb694bbe8ff5a (diff)
downloadlwn-e0a3aa8a6750e8cf067fe2146dc618ffd296d5ef.tar.gz
lwn-e0a3aa8a6750e8cf067fe2146dc618ffd296d5ef.zip
drm/amdgpu/sdma7.1: fix support for disable_kq
Set the flag in the ring structure. Fixes: 80d4d3a45b86 ("drm/amdgpu/sdma7.1: add support for disable_kq") Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
index e1c0a4ff0e7f..cd9668605a50 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
@@ -1315,6 +1315,7 @@ static int sdma_v7_1_sw_init(struct amdgpu_ip_block *ip_block)
ring->ring_obj = NULL;
ring->use_doorbell = true;
ring->me = i;
+ ring->no_user_submission = adev->sdma.no_user_submission;
for (xcc_id = 0; xcc_id < fls(adev->gfx.xcc_mask); xcc_id++) {
if (adev->sdma.instance[i].xcc_id == GET_INST(GC, xcc_id))