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

Commit 3f30bcde authored by Steve Cohen's avatar Steve Cohen
Browse files

drm/msm/sde: update qsync calculation for command mode display



Update the calculation for QSYNC cmd mode to use vtotal instead
of vdisplay when calculating the line time.

Change-Id: I136c391a7fefe0e6773d4fb97fdf52f0c61d0be6
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 3ef19c0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -886,7 +886,7 @@ static int _get_tearcheck_threshold(struct sde_encoder_phys *phys_enc)
	if (mode && (qsync_mode == SDE_RM_QSYNC_CONTINUOUS_MODE)) {
		u32 qsync_min_fps = 0;
		u32 default_fps = mode->vrefresh;
		u32 yres = mode->vdisplay;
		u32 yres = mode->vtotal;
		u32 slow_time_ns;
		u32 default_time_ns;
		u32 extra_time_ns;