Commit 3557db42 authored by Max Tseng's avatar Max Tseng Committed by Alex Deucher
Browse files

drm/amd/display: Modify Vmin default value



Fine tune the Vmin clock value

Reviewed-by: default avatarRobin Chen <robin.chen@amd.com>
Acked-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Signed-off-by: default avatarMax Tseng <max.tseng@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 776ecb46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1914,7 +1914,7 @@ static bool dcn314_resource_construct(
	dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
	dc->caps.color.mpc.ocsc = 1;

	dc->caps.max_disp_clock_khz_at_vmin = 694000;
	dc->caps.max_disp_clock_khz_at_vmin = 650000;

	/* Use pipe context based otg sync logic */
	dc->config.use_pipe_ctx_sync_logic = true;
+7 −1
Original line number Diff line number Diff line
@@ -1830,7 +1830,13 @@ static bool dcn35_resource_construct(
	dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
	dc->caps.color.mpc.ocsc = 1;

	dc->caps.max_disp_clock_khz_at_vmin = 669154;
	/* max_disp_clock_khz_at_vmin is slightly lower than the STA value in order
	 * to provide some margin.
	 * It's expected for furture ASIC to have equal or higher value, in order to
	 * have determinstic power improvement from generate to genration.
	 * (i.e., we should not expect new ASIC generation with lower vmin rate)
	 */
	dc->caps.max_disp_clock_khz_at_vmin = 650000;

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