Commit d6ed5371 authored by Loan Chen's avatar Loan Chen Committed by Alex Deucher
Browse files

drm/amd/display: Enable otg synchronization logic for DCN321



[Why]
Tiled display cannot synchronize properly after S3.
The fix for commit 5f0c7491 ("drm/amd/display: Fix for otg
synchronization logic") is not enable in DCN321, which causes
the otg is excluded from synchronization.

[How]
Enable otg synchronization logic in dcn321.

Fixes: 5f0c7491 ("drm/amd/display: Fix for otg synchronization logic")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarAlvin Lee <alvin.lee2@amd.com>
Signed-off-by: default avatarLoan Chen <lo-an.chen@amd.com>
Signed-off-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5b7813bc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1778,6 +1778,9 @@ static bool dcn321_resource_construct(
	dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
	dc->caps.color.mpc.ocsc = 1;

	/* Use pipe context based otg sync logic */
	dc->config.use_pipe_ctx_sync_logic = true;

	dc->config.dc_mode_clk_limit_support = true;
	dc->config.enable_windowed_mpo_odm = true;
	dc->config.disable_hbr_audio_dp2 = true;