Skip to content

Commit 7d689cd

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu/mes11: make MES_MISC_OP_CHANGE_CONFIG failure non-fatal
commit 5171848 upstream. If the firmware is too old, just warn and return success. Fixes: 27b7915 ("drm/amdgpu/mes: keep enforce isolation up to date") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4414 Cc: shaoyun.Liu@amd.com Reviewed-by: Shaoyun.liu <Shaoyun.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 9f28af7) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f4dbf23 commit 7d689cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,9 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,
641641
break;
642642
case MES_MISC_OP_CHANGE_CONFIG:
643643
if ((mes->adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) < 0x63) {
644-
dev_err(mes->adev->dev, "MES FW version must be larger than 0x63 to support limit single process feature.\n");
645-
return -EINVAL;
644+
dev_warn_once(mes->adev->dev,
645+
"MES FW version must be larger than 0x63 to support limit single process feature.\n");
646+
return 0;
646647
}
647648
misc_pkt.opcode = MESAPI_MISC__CHANGE_CONFIG;
648649
misc_pkt.change_config.opcode =

0 commit comments

Comments
 (0)