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

Commit e5e78a64 authored by Samantha Tran's avatar Samantha Tran
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>
parent 51b32031
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,6 +30,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
@@ -420,8 +421,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;