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

Commit 78c3eb1f authored by Krishna Manikandan's avatar Krishna Manikandan Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: set sde rsc min threshold time



This change sets rsc min threshold time to 0. Currently
the value is being set to 1 which results in failure to
enter mode 2 in video mode.

Change-Id: I3374fbe41fe2b71d3d6676281216941c83977744
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
Signed-off-by: default avatarKrishna Manikandan <mkrishn@codeaurora.org>
parent 78359618
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@

#define RSC_MODE_INSTRUCTION_TIME	100
#define RSC_MODE_THRESHOLD_OVERHEAD	2700
#define MIN_THRESHOLD_TIME		0

#define DEFAULT_PANEL_FPS		60
#define DEFAULT_PANEL_JITTER_NUMERATOR	2
@@ -445,8 +446,7 @@ static u32 sde_rsc_timer_calculate(struct sde_rsc_priv *rsc,
	/* mode 2 is infinite */
	rsc->timer_config.rsc_time_slot_2_ns = 0xFFFFFFFF;

	rsc->timer_config.min_threshold_time_ns =
		rsc->timer_config.rsc_backoff_time_ns;
	rsc->timer_config.min_threshold_time_ns = 0;
	rsc->timer_config.bwi_threshold_time_ns =
		rsc->timer_config.rsc_time_slot_0_ns;