Commit 3df95751 authored by Jingwen Zhu's avatar Jingwen Zhu Committed by Alex Deucher
Browse files

drm/amd/display: limited pll vco w/a v2



[Why/How]
The w/a will cause reboot black screen issue.

Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarJingwen Zhu <Jingwen.Zhu@amd.com>
Signed-off-by: default avatarRoman Li <roman.li@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fa5f99ee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -316,6 +316,7 @@ struct dmub_srv_hw_params {
	bool disable_sldo_opt;
	bool enable_non_transparent_setconfig;
	bool lower_hbr3_phy_ssc;
	bool override_hbr3_pll_vco;
};

/**
+2 −1
Original line number Diff line number Diff line
@@ -843,7 +843,8 @@ union dmub_fw_boot_options {
		uint32_t ips_sequential_ono: 1; /**< 1 to enable sequential ONO IPS sequence */
		uint32_t disable_sldo_opt: 1; /**< 1 to disable SLDO optimizations */
		uint32_t lower_hbr3_phy_ssc: 1; /**< 1 to lower hbr3 phy ssc to 0.125 percent */
		uint32_t reserved : 6; /**< reserved */
		uint32_t override_hbr3_pll_vco: 1; /**< 1 to override the hbr3 pll vco to 0 */
		uint32_t reserved : 5; /**< reserved */
	} bits; /**< boot bits */
	uint32_t all; /**< 32-bit access to bits */
};
+1 −0
Original line number Diff line number Diff line
@@ -377,6 +377,7 @@ void dmub_dcn31_enable_dmub_boot_options(struct dmub_srv *dmub, const struct dmu
	boot_options.bits.dpia_hpd_int_enable_supported = params->dpia_hpd_int_enable_supported;
	boot_options.bits.power_optimization = params->power_optimization;
	boot_options.bits.lower_hbr3_phy_ssc = params->lower_hbr3_phy_ssc;
	boot_options.bits.override_hbr3_pll_vco = params->override_hbr3_pll_vco;

	boot_options.bits.sel_mux_phy_c_d_phy_f_g = (dmub->asic == DMUB_ASIC_DCN31B) ? 1 : 0;