drm/amdgpu: update the fw version for gfx11 userqueues
Subsystems (2)
PATCH 1/3 drm/amdgpu: update the fw version for gfx11 userqueues
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4 -4
@@ -1655,10 +1655,10 @@ 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 >=2420 && - adev->gfx.pfp_fw_version >=2580 && - adev->gfx.mec_fw_version >=2650 && - adev->mes.fw_version[0 ] >=120 ) { + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; }
Signature · 1 line
2.34.1
PATCH 2/3 drm/amdgpu: update the fw version for gfx12 userqueues
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
--- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c +4 -4
@@ -1440,10 +1440,10 @@ static int gfx_v12_0_sw_init(struct amdgpu_ip_block *ip_block)case IP_VERSION (12 ,0 ,0 ):case IP_VERSION (12 ,0 ,1 ):if (!adev->gfx.disable_uq && - adev->gfx.me_fw_version >=2780 && - adev->gfx.pfp_fw_version >=2840 && - adev->gfx.mec_fw_version >=3050 && - adev->mes.fw_version[0 ] >=123 ) { + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; }
Signature · 1 line
2.34.1
PATCH 3/3 drm/amdgpu: add the fw check for gfx11 missing ips for uq
In reply to Sunil KhatriAdd the proper checks for some of the gfx11 variant IP's for firmware support of userqueues.
--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +5 -1
@@ -1670,7 +1670,11 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)case IP_VERSION (11 ,5 ,2 ):case IP_VERSION (11 ,5 ,3 ):/* add firmware version checks here */ -if (0 && !adev->gfx.disable_uq) { +if (!adev->gfx.disable_uq && + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; }
Signature · 1 line
2.34.1
Re: [PATCH v1 3/3] drm/amdgpu: add the fw check for gfx11 missing ips for uq
Quoted 14 lines · Sunil Khatri
Add the proper checks for some of the gfx11 variant IP's for firmware support of userqueues.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block) · line 1677
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +5
-1@@ -1670,7 +1670,11 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)case IP_VERSION (11 ,5 ,2 ):case IP_VERSION (11 ,5 ,3 ):/* add firmware version checks here */ -if (0 && !adev->gfx.disable_uq) { +if (!adev->gfx.disable_uq && + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) {
We should verify this on all of these APUs first. I'm not sure if the fixes have landed for phoenix parts yet. We may need to split the checks for stix vs phx depending on the firmware versions.
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; } --2.34.1
Re: [PATCH v1 3/3] drm/amdgpu: add the fw check for gfx11 missing ips for uq
Quoted 18 lines · Alex Deucher
Quoted 17 lines · Sunil Khatri
Add the proper checks for some of the gfx11 variant IP's for firmware support of userqueues.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1@@ -1670,7 +1670,11 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)case IP_VERSION (11 ,5 ,2 ):case IP_VERSION (11 ,5 ,3 ):/* add firmware version checks here */ -if (0 && !adev->gfx.disable_uq) {
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block) · line 1677
Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +5
-0+if (!adev->gfx.disable_uq && + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) {We should verify this on all of these APUs first. I'm not sure if the fixes have landed for phoenix parts yet. We may need to split the checks for stix vs phx depending on the firmware versions.
ok, so for now i will drop this patch and will pick up later when APUs will be tested... My understanding was to use the latest version which should work for those APUs too, but yes its possible the fw does not support these yet and hard to validate with device availability and support as open questions...
Regards
Sunil Khatri
Quoted 9 lines
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; } --2.34.1
Patches 1 and 2:
Quoted 31 lines · Sunil Khatri
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4
-5@@ -1655,10 +1655,10 @@ 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 >=2420 && - adev->gfx.pfp_fw_version >=2580 && - adev->gfx.mec_fw_version >=2650 && - adev->mes.fw_version[0 ] >=120 ) { + adev->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX ] = &userq_mes_funcs; adev->userq_funcs[AMDGPU_HW_IP_COMPUTE ] = &userq_mes_funcs; } --2.34.1
AMD General
Hi Sunil,
Could you please help confirm whether the firmware version check in this patch is correct?
For example, the latest gfx11 ME firmware version I can see is 2550, but the patch requires me_fw_version >= 3090. That's quite a big gap, so I'd like to make sure these thresholds are intended for gfx11.
I also noticed that the new values (ME 3090 / PFP 3190 / MEC 3450) match the versions in our recent gfx12 (navi48) CP firmware builds. Could they have been taken from gfx12 by mistake?
If these numbers are correct, could you let me know which gfx11 firmware release they correspond to?
Thanks,
Jesse
Quoted 50 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, August 31, 2026 11:13 PM
To: Khatri, Sunil <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; [email protected]
Subject: Re: [PATCH v1 1/3] drm/amdgpu: update the fw version for gfx11 userqueuesPatches 1 and 2:
Acked-by Alex Deucher <[email protected]>drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct
Quoted 15 lines · Sunil Khatri
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0@@ -1655,10 +1655,10 @@ static int gfx_v11_0_sw_init(struct
amdgpu_ip_block*ip_block)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4
-4case IP_VERSION (11 ,0 ,2 ):case IP_VERSION (11 ,0 ,3 ):if (!adev->gfx.disable_uq && - 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->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX] =
&userq_mes_funcs;drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct · line 1663
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] =
&userq_mes_funcs;Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1} --2.34.1
Quoted 11 lines · Jesse(Jie)
AMD General
Hi Sunil,
Could you please help confirm whether the firmware version check in this patch is correct?
For example, the latest gfx11 ME firmware version I can see is 2550, but the patch requires
me_fw_version>= 3090. That's quite a big gap, so I'd like to make sure these thresholds are intended for gfx11.I also noticed that the new values (ME 3090 / PFP 3190 / MEC 3450) match the versions in our recent gfx12 (navi48) CP firmware builds. Could they have been taken from gfx12 by mistake?
If these numbers are correct, could you let me know which gfx11 firmware release they correspond to?
I see the same fixes merged for gfx11 too, i did not validate on gfx11 myself but the assumption was to have that same version... probably i might have made a mistake not confirm on gfx11 target... I would say use the brahma utils and check the fw version on the target and update the patch ....
Regards
Sunil Khatri
Quoted 53 lines
Thanks,
JesseQuoted 49 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, August 31, 2026 11:13 PM
To: Khatri, Sunil <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; [email protected]
Subject: Re: [PATCH v1 1/3] drm/amdgpu: update the fw version for gfx11 userqueuesPatches 1 and 2:
Acked-by Alex Deucher <[email protected]>drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct
Quoted 14 lines · Sunil Khatri
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0@@ -1655,10 +1655,10 @@ static int gfx_v11_0_sw_init(struct
amdgpu_ip_block*ip_block)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4
-4case IP_VERSION (11 ,0 ,2 ):case IP_VERSION (11 ,0 ,3 ):if (!adev->gfx.disable_uq && - 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->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX] =
&userq_mes_funcs;drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct · line 1663
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] =
&userq_mes_funcs;Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1} --2.34.1
Quoted 11 lines · Sunil
Quoted 8 lines · Jesse(Jie)
AMD General
Hi Sunil,
Could you please help confirm whether the firmware version check in this patch is correct?
For example, the latest gfx11 ME firmware version I can see is 2550, but the patch requires
me_fw_version>= 3090. That's quite a big gap, so I'd like to make sure these thresholds are intended for gfx11.
Quoted 8 lines
Quoted 3 lines
I also noticed that the new values (ME 3090 / PFP 3190 / MEC 3450) match the versions in our recent gfx12 (navi48) CP firmware builds. Could they have been taken from gfx12 by mistake?
If these numbers are correct, could you let me know which gfx11 firmware release they correspond to?
I see the same fixes merged for gfx11 too, i did not validate on gfx11 myself but the assumption was to have that same version... probably i might have made a mistake not confirm on gfx11 target... I would say use the brahma utils and check the fw version on the target and update the patch ....
They use different versioning. Please double check the correct versions.
Thanks!
Alex
Quoted 56 lines
Regards
Sunil KhatriQuoted 53 lines
Thanks,
JesseQuoted 49 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Monday, August 31, 2026 11:13 PM
To: Khatri, Sunil <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; [email protected]
Subject: Re: [PATCH v1 1/3] drm/amdgpu: update the fw version for gfx11 userqueuesPatches 1 and 2:
Acked-by Alex Deucher <[email protected]>drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct
Quoted 14 lines · Sunil Khatri
Update to the latest stable fw versions where userqueues is working as it is expected with major fixes.
Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0@@ -1655,10 +1655,10 @@ static int gfx_v11_0_sw_init(struct
amdgpu_ip_block*ip_block)drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
Quoted 12 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +4
-4case IP_VERSION (11 ,0 ,2 ):case IP_VERSION (11 ,0 ,3 ):if (!adev->gfx.disable_uq && - 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->gfx.me_fw_version >=3090 && + adev->gfx.pfp_fw_version >=3190 && + adev->gfx.mec_fw_version >=3450 && + adev->mes.fw_version[0 ] >=147 ) { adev->userq_funcs[AMDGPU_HW_IP_GFX] =
&userq_mes_funcs;drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c static int gfx_v11_0_sw_init(struct · line 1663
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-0adev->userq_funcs[AMDGPU_HW_IP_COMPUTE] =
&userq_mes_funcs;Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +0
-1} --2.34.1