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

Commit 635fafeb authored by Raviteja Tamatam's avatar Raviteja Tamatam
Browse files

disp: msm: sde: add debug information for dpms transitions



Added new sde event log to track dpms transition states and
power mode changes.

Change-Id: I0169dde419585130d24ee7cee0fb91703bbb20e2
Signed-off-by: default avatarRaviteja Tamatam <travitej@codeaurora.org>
parent c5328d54
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -935,6 +935,9 @@ static void _sde_kms_drm_check_dpms(struct drm_atomic_state *old_state,
		if ((old_mode != new_mode) || (old_fps != new_fps)) {
			struct drm_panel_notifier notifier_data;

			SDE_EVT32(old_mode, new_mode, old_fps, new_fps,
				connector->panel, crtc->state->active,
				old_conn_state->crtc, event);
			pr_debug("change detected (power mode %d->%d, fps %d->%d)\n",
				old_mode, new_mode, old_fps, new_fps);