diff options
| author | Alex Deucher <[email protected]> | 2025-08-27 18:24:31 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-08-29 15:12:44 +0000 |
| commit | 5171848bdfb8bf87f38331d3f8c0fd5e2b676d3e (patch) | |
| tree | 276b55f67e6b4ee04051e77915f23d808f0049a0 /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amdgpu/sdma: bump firmware version checks for user queue support (diff) | |
| download | kernel-5171848bdfb8bf87f38331d3f8c0fd5e2b676d3e.tar.gz kernel-5171848bdfb8bf87f38331d3f8c0fd5e2b676d3e.zip | |
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")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4414
Cc: [email protected]
Reviewed-by: Shaoyun.liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 9f28af76fab0948b59673f69c10aeec47de11c60)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c index 28eb846280dd..3f6a828cad8a 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c @@ -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 = |
