Commit 85e41f1e authored by Daniel Miess's avatar Daniel Miess Committed by Alex Deucher
Browse files

drm/amd/display: disable RCO for DCN314



[Why]
RCO is causing error messages on some DCN314 systems

[How]
Force disable RCO for DCN314

Fixes: 17fbdbda ("drm/amd/display: Enable dcn314 DPP RCO")
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: default avatarDaniel Miess <daniel.miess@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 65dae8ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ static void dccg314_dpp_root_clock_control(
{
	struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg);

	if (dccg->dpp_clock_gated[dpp_inst] == clock_on)
	if (dccg->dpp_clock_gated[dpp_inst] != clock_on)
		return;

	if (clock_on) {
+3 −0
Original line number Diff line number Diff line
@@ -1908,6 +1908,9 @@ static bool dcn314_resource_construct(
	dc->debug.disable_dpp_power_gate = true;
	dc->debug.disable_hubp_power_gate = true;

	/* Disable root clock optimization */
	dc->debug.root_clock_optimization.u32All = 0;

	// Init the vm_helper
	if (dc->vm_helper)
		vm_helper_init(dc->vm_helper, 16);