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

Commit cf6ecb42 authored by Andhavarapu Karthik's avatar Andhavarapu Karthik
Browse files

disp: msm: sde: add evt log in rsc timer calculation



This change adds required log in rsc timer calculation.

Change-Id: If16487ae8783651b3a2ac4839928a15131b678ee
Signed-off-by: default avatarAndhavarapu Karthik <quic_kartkart@quicinc.com>
parent 4b054fac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -352,6 +352,8 @@ static u32 sde_rsc_timer_calculate(struct sde_rsc_priv *rsc,
			line_time_ns, prefill_time_ns);
	pr_debug("static wakeup time:%lld cxo:%u\n", total, cxo_period_ns);

	SDE_EVT32(rsc->cmd_config.fps, rsc->cmd_config.vtotal, total);

	pdc_backoff_time_ns = rsc_backoff_time_ns;
	rsc_backoff_time_ns = div_u64(rsc_backoff_time_ns, cxo_period_ns);
	rsc->timer_config.rsc_backoff_time_ns = (u32) rsc_backoff_time_ns;