Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c32fd1ec authored by Samantha Tran's avatar Samantha Tran Committed by Gerrit - the friendly Code Review server
Browse files

Revert "drm/msm: dpu: 'vsync' replac 'vsync_clk' in cmdmode enc"



This reverts commit 2c1f748d.

This reversion is happening as a result of disabling the
disp/dpu directory as it will not be used in 4.19 downstream
display driver and these changes are made in the common layer
which affects the downstream driver functionalities. Separate
patches are submitted to revert the upstream driver and
introduce the downstream version of display driver.

Change-Id: Ibf9420e350b6b58aa48df9feaa4eee3f729cf2fc
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent f6432c3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ static void dpu_encoder_phys_cmd_tearcheck_config(
	 * vsync_count is ratio of MDP VSYNC clock frequency to LCD panel
	 * frequency divided by the no. of rows (lines) in the LCDpanel.
	 */
	vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync");
	vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync_clk");
	if (vsync_hz <= 0) {
		DPU_DEBUG_CMDENC(cmd_enc, "invalid - vsync_hz %u\n",
				 vsync_hz);