mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
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: 9adc8050bf ("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>
This commit is contained in:
parent
8540098492
commit
789d027ec8
|
|
@ -1241,7 +1241,7 @@ static bool calc_pll_max_vco_construct(
|
|||
init_data->bp == NULL)
|
||||
return false;
|
||||
|
||||
if (init_data->bp->fw_info_valid)
|
||||
if (!init_data->bp->fw_info_valid)
|
||||
return false;
|
||||
|
||||
fw_info = &init_data->bp->fw_info;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user