drm/amd/display: fix calc_pll_max_vco_construct
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 15 Aug 2019 16:35:39 +0000 (12:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 22:48:47 +0000 (17:48 -0500)
commit789d027ec8e7aa300689f418b522ae21e333eb17
tree0b6195fc8e23e47cd1cc027dacc65a4c9abf0f09
parent854009849235308d1319cf4f8ff52f00a3b07026
drm/amd/display: fix calc_pll_max_vco_construct

This was broken by a previous change switching to cached fw_info.
Fixed by inverting a valid bool check.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=111432
Fixes: 9adc8050bf3c ("drm/amd/display: make firmware info only load once during dc_bios create")
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c