drm/amd/display: Handle Unknown Result for SMU Periodic Retraining on DCN2.1
authorSung Lee <sung.lee@amd.com>
Mon, 2 Nov 2020 20:38:04 +0000 (15:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 17:18:50 +0000 (12:18 -0500)
commit157cc88505f11bf3aa3952223cccf174067816da
treefef5f1733edb6537c58060ab29f990c98fb079e4
parent82df77ae4639af747adb223fb4678e3493e4a8b8
drm/amd/display: Handle Unknown Result for SMU Periodic Retraining on DCN2.1

[WHY & HOW]
Currently if VBIOSSMC_Result_UnknownCmd is returned as result of smu msg
there is no way to know.  Put 1 in param so if 1 is returned, this unknown case is handled.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c