drm/amdgpu: drop userq callback assignment for sdma 7.1
Subsystems (2)
Alex Deucher
maintainerPATCH 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")
Signed-off-by Alex Deucher <[email protected]>
--- 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
@@ -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
AMD General
Reviewed-by Hawking Zhang <[email protected]>
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")
Signed-off-by Alex Deucher <[email protected]>
--- 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
@@ -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