Skip to contentSkip to conversation

drm/amdgpu: drop userq callback assignment for sdma 7.1

PATCH In review Alex Deucher 2 participants 2 messages Sep 22

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: drop userq callback assignment for sdma 7.1

Not enabled in 7.1 so drop the assignment.

Cc Horatio Zhang <[email protected]>
Fixes 4ed5116aacf6 ("drm/amdgpu: Add sdma v7_1_0 support")
---
 drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +0 -4
index fcbab7f05d08c..4a4382f2b7562 100644
@@ -1347,10 +1347,6 @@ static int sdma_v7_1_sw_init(struct amdgpu_ip_block *ip_block)
 	else
 		DRM_ERROR("Failed to allocated memory for SDMA IP Dump\n");
 
-#ifdef CONFIG_DRM_AMDGPU_NAVI3X_USERQ
-	adev->userq_funcs[AMDGPU_HW_IP_DMA] = &userq_mes_funcs;
-#endif
-
 	return r;
 }
 
Signature · 1 line
2.55.0
Reviewed-by on v1 1/1
#1 lore raw

AMD General

Regards,
Hawking
-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Tuesday, September 22, 2026 12:15 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Zhang, Horatio <[email protected]>; Zhang, Hawking <[email protected]>
Subject: [PATCH] drm/amdgpu: drop userq callback assignment for sdma 7.1

Not enabled in 7.1 so drop the assignment.

Cc Horatio Zhang <[email protected]>
Fixes 4ed5116aacf6 ("drm/amdgpu: Add sdma v7_1_0 support")
---
 drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +0 -4
index fcbab7f05d08c..4a4382f2b7562 100644
@@ -1347,10 +1347,6 @@ static int sdma_v7_1_sw_init(struct amdgpu_ip_block *ip_block)
        else
                DRM_ERROR("Failed to allocated memory for SDMA IP Dump\n");
 
-#ifdef CONFIG_DRM_AMDGPU_NAVI3X_USERQ
-       adev->userq_funcs[AMDGPU_HW_IP_DMA] = &userq_mes_funcs;
-#endif
-
        return r;
 }
 

--
2.55.0