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

Commit ff4f5306 authored by Lei Chen's avatar Lei Chen Committed by Gerrit - the friendly Code Review server
Browse files

disp: msm: add trace logs in display early wakeup function



Add trace logs in display early wakeup function for performance
profiling.

Change-Id: I63392417f03eac60dba1c43cd71fe5032ba59ed3
Signed-off-by: default avatarLei Chen <chenlei@codeaurora.org>
parent eb679f52
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3695,8 +3695,10 @@ static void sde_encoder_early_wakeup_work_handler(struct kthread_work *work)
		return;
	}

	SDE_ATRACE_BEGIN("encoder_early_wakeup");
	sde_encoder_resource_control(&sde_enc->base,
			SDE_ENC_RC_EVENT_EARLY_WAKEUP);
	SDE_ATRACE_END("encoder_early_wakeup");
}

void sde_encoder_early_wakeup(struct drm_encoder *drm_enc)
@@ -3724,8 +3726,10 @@ void sde_encoder_early_wakeup(struct drm_encoder *drm_enc)

	disp_thread = &priv->disp_thread[sde_enc->crtc->index];

	SDE_ATRACE_BEGIN("queue_early_wakeup_work");
	kthread_queue_work(&disp_thread->worker,
				&sde_enc->early_wakeup_work);
	SDE_ATRACE_END("queue_early_wakeup_work");
}

int sde_encoder_poll_line_counts(struct drm_encoder *drm_enc)