]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu/sdma7.1: fix support for disable_kq
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 19:41:59 +0000 (15:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 18:47:19 +0000 (14:47 -0400)
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>
(cherry picked from commit e0a3aa8a6750e8cf067fe2146dc618ffd296d5ef)

drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c

index 061934a2e93a38527ffce901b7d720ffee0f07fc..9c9bbe043a479a0ee25edc9bef9468ff976da61c 100644 (file)
@@ -1316,6 +1316,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))