Skip to contentSkip to conversation

drm/amdgpu/sdma7.1: fix support for disable_kq

PATCH In review Alex Deucher 3 participants 3 messages May 27 – May 28

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 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")
---
 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
index e1c0a4ff0e7ff..cd9668605a501 100644
@@ -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
#1 lore raw

Ping?

Quoted 24 lines · Alex Deucher

Set the flag in the ring structure.

Fixes 80d4d3a45b86 ("drm/amdgpu/sdma7.1: add support for disable_kq")
---
 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
index e1c0a4ff0e7ff..cd9668605a501 100644
@@ -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

Reviewed-by
#2 lore raw

AMD General

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 for disable_kq

Ping?

Review

Quoted 10 lines · Alex Deucher

Set the flag in the ring structure.

Fixes 80d4d3a45b86 ("drm/amdgpu/sdma7.1: add support for disable_kq")
---
 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.c

drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c static int sdma_v7_1_sw_init(struct

Quoted 4 lines

index e1c0a4ff0e7ff..cd9668605a501 100644

drivers/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 -1
                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