Skip to content

Commit 124ffa2

Browse files
Jie1zhangalexdeucher
authored andcommitted
drm/amdgpu: Update SDMA firmware version check for user queue support
This commit fixes a firmware version check for enabling user queue support in SDMA v7.0. The previous version check (7836028) was incorrect and could lead to issues with PROTECTED_FENCE_SIGNAL commands causing register conflicts between MCU_DBG0 and MCU_DBG1. Fixes: 8c01140 ("drm/amdgpu/sdma7: add ucode version checks for userq support") Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Jesse Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 92e2449) Cc: [email protected]
1 parent c2fe914 commit 124ffa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ static int sdma_v7_0_sw_init(struct amdgpu_ip_block *ip_block)
13531353
switch (amdgpu_ip_version(adev, SDMA0_HWIP, 0)) {
13541354
case IP_VERSION(7, 0, 0):
13551355
case IP_VERSION(7, 0, 1):
1356-
if ((adev->sdma.instance[0].fw_version >= 7836028) && !adev->sdma.disable_uq)
1356+
if ((adev->sdma.instance[0].fw_version >= 7966358) && !adev->sdma.disable_uq)
13571357
adev->userq_funcs[AMDGPU_HW_IP_DMA] = &userq_mes_funcs;
13581358
break;
13591359
default:

0 commit comments

Comments
 (0)