]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda6c29f266b7cda39ddfe9f3d3eaa21d2d4965b8
tree0b6195fc8e23e47cd1cc027dacc65a4c9abf0f09
parent59e36151ffb30981adf61b69efe70a3bf3b061a6
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: 82d0f62d0571 ("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