drm/amdgpu/mes11: make MES_MISC_OP_CHANGE_CONFIG failure non-fatal
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/mes11: make MES_MISC_OP_CHANGE_CONFIG failure non-fatal
If the firmware is too old, just warn and return success.
Fixes 27b791514789 ("drm/amdgpu/mes: keep enforce isolation up to date")
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +3 -2
@@ -641,8 +641,9 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,break ;case MES_MISC_OP_CHANGE_CONFIG :if ((mes->adev->mes.sched_version &AMDGPU_MES_VERSION_MASK ) <0x63 ) { -dev_err (mes->adev->dev,"MES FW version must be larger than 0x63 to support limit single process feature.\n" ); -return -EINVAL ; +dev_warn_once (mes->adev->dev, +"MES FW version must be larger than 0x63 to support limit single process feature.\n" ); +return 0 ; } misc_pkt.opcode =MESAPI_MISC__CHANGE_CONFIG ; misc_pkt.change_config.opcode =
Signature · 1 line
2.51.0
[AMD Official Use Only - AMD Internal Distribution Only]
Looks good to me.
Reviewed-by Shaoyun.liu <[email protected]>
-----Original Message-----
From: Deucher, Alexander <[email protected]>
Sent: Wednesday, August 27, 2025 3:03 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Liu, Shaoyun <[email protected]>
Subject: [PATCH] drm/amdgpu/mes11: make MES_MISC_OP_CHANGE_CONFIG failure non-fatal
If the firmware is too old, just warn and return success.
Fixes 27b791514789 ("drm/amdgpu/mes: keep enforce isolation up to date")
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +3 -2
@@ -641,8 +641,9 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,break ;case MES_MISC_OP_CHANGE_CONFIG :if ((mes->adev->mes.sched_version &AMDGPU_MES_VERSION_MASK ) <0x63 ) { -dev_err (mes->adev->dev,"MES FW version must be larger than 0x63 to support limit single process feature.\n" ); -return -EINVAL ; +dev_warn_once (mes->adev->dev, +"MES FW version must be larger than 0x63 to support limit single process feature.\n" ); +return 0 ; } misc_pkt.opcode =MESAPI_MISC__CHANGE_CONFIG ; misc_pkt.change_config.opcode =
--
2.51.0