drm/amd/display: add guard for SMU ver, for 48mhz clk
authorJoseph Gravenor <joseph.gravenor@amd.com>
Mon, 16 Sep 2019 19:13:33 +0000 (15:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:33:23 +0000 (19:33 -0500)
commitac81c2a75bcc9dce5ea80282b7d181e78b37c166
tree24da7b9ba2039ee26a40a009604353671a0bd1ca
parent57133a28bcaf6e692b161e35c6778ee54b47f9e6
drm/amd/display: add guard for SMU ver, for 48mhz clk

[why]
dp_48m_refclk_driver_pwdn is persistent through S3 and S5.
This was worked arround in SMU FW 55.21.0. Earlier FW don't have this fix
so we will hang on reboot

[how]
add a guard for smu versions before SMU FW 55.21.0

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c