Skip to contentSkip to conversation

drm/amdgpu: update firmware version checks for user queue support

PATCH In review Jesse.Zhang 2 participants 2 messages Aug 26, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: update firmware version checks for user queue support

The minimum firmware versions required for user queue functionality have been increased to address an issue where the queue privilege state was lost during queue connect operations.

The problem occurred because the privilege state was being restored to its initial value at the beginning of the function, overwriting the state that was properly set during the queue connect case.

This commit updates the minimum version requirements:
- ME firmware from 2390 to 2420
- PFP firmware from 2530 to 2580
- MEC firmware from 2600 to 2650
- MES firmware remains at 120

These updated firmware versions contain the necessary fixes to properly maintain queue privilege state throughout connect operations.

Fixes d84f90e2bcec ("drm/amdgpu: Add fw minimum version check for usermode queue")
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +3 -3
index 456ba758fa94..c85de8c8f6f5 100644
@@ -1612,9 +1612,9 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
 	case IP_VERSION(11, 0, 2):
 	case IP_VERSION(11, 0, 3):
 		if (!adev->gfx.disable_uq &&
-		    adev->gfx.me_fw_version  >= 2390 &&
-		    adev->gfx.pfp_fw_version >= 2530 &&
-		    adev->gfx.mec_fw_version >= 2600 &&
+		    adev->gfx.me_fw_version  >= 2420 &&
+		    adev->gfx.pfp_fw_version >= 2580 &&
+		    adev->gfx.mec_fw_version >= 2650 &&
 		    adev->mes.fw_version[0] >= 120) {
 			adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_funcs;
 			adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = &userq_mes_funcs;
Signature · 1 line
2.49.0
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Jesse.Zhang

The minimum firmware versions required for user queue functionality have been increased to address an issue where the queue privilege state was lost during queue connect operations.

The problem occurred because the privilege state was being restored to its initial value at the beginning of the function, overwriting the state that was properly set during the queue connect case.

This commit updates the minimum version requirements:
- ME firmware from 2390 to 2420
- PFP firmware from 2530 to 2580
- MEC firmware from 2600 to 2650
- MES firmware remains at 120

Quoted 6 lines

These updated firmware versions contain the necessary fixes to properly maintain queue privilege state throughout connect operations.

Fixes d84f90e2bcec ("drm/amdgpu: Add fw minimum version check for usermode queue")
Quoted 24 lines
---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +3 -4
index 456ba758fa94..c85de8c8f6f5 100644
@@ -1612,9 +1612,9 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
        case IP_VERSION(11, 0, 2):
        case IP_VERSION(11, 0, 3):
                if (!adev->gfx.disable_uq &&
-                   adev->gfx.me_fw_version  >= 2390 &&
-                   adev->gfx.pfp_fw_version >= 2530 &&
-                   adev->gfx.mec_fw_version >= 2600 &&
+                   adev->gfx.me_fw_version  >= 2420 &&
+                   adev->gfx.pfp_fw_version >= 2580 &&
+                   adev->gfx.mec_fw_version >= 2650 &&
                    adev->mes.fw_version[0] >= 120) {
                        adev->userq_funcs[AMDGPU_HW_IP_GFX] = &userq_mes_funcs;
                        adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] = &userq_mes_funcs;
--

2.49.0