drm/amdgpu/sdma7.1: fix support for disable_kq
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 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")
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +1 -0
@@ -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))
Signature · 1 line
2.54.0
Ping?
Quoted 24 lines · Alex Deucher
Set the flag in the ring structure.
Fixes 80d4d3a45b86 ("drm/amdgpu/sdma7.1: add support for disable_kq")Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +1
-1@@ -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)) --2.54.0
Russell, Kent
Reviewed-byAMD General
Reviewed-by Kent Russell <[email protected]>
Quoted 38 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: May 28, 2026 10:49 AM
To: Deucher, Alexander <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] drm/amdgpu/sdma7.1: fix support fordisable_kqPing?
Review
Quoted 10 lines · Alex Deucher
Set the flag in the ring structure.
Fixes 80d4d3a45b86 ("drm/amdgpu/sdma7.1: add support for disable_kq")Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.cdrivers/gpu/drm/amd/amdgpu/sdma_v7_1.c static int sdma_v7_1_sw_init(struct
Quoted 4 lines
index
e1c0a4ff0e7ff..cd9668605a501100644drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +0
-0@@ -1315,6 +1315,7 @@ static int sdma_v7_1_sw_init(struct
amdgpu_ip_block*ip_block)Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +1
-1ring->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)) --2.54.0