drm/amdgpu: Don't warn for unsupported set_xgmi_plpd_mode
authorTao Zhou <tao.zhou1@amd.com>
Tue, 31 Oct 2023 03:09:30 +0000 (11:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Nov 2023 22:00:32 +0000 (17:00 -0500)
commit61d7052216214e828b71407172aa85031cf138a9
tree3293905b88910a98362e45eff48b7b749525cfb9
parent17daf01ab4e3e5a5929747aa05cc15eb2bad5438
drm/amdgpu: Don't warn for unsupported set_xgmi_plpd_mode

set_xgmi_plpd_mode may be unsupported and this isn't error, no need to
print warning for it.

v2: add ret2 to save the status of psp_ras_trigger_error.

Suggested-by: lijo.lazar@amd.com
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c