mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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: Lei Chen <chenlei@codeaurora.org>
This commit is contained in:
parent
eb679f5289
commit
ff4f530606
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue