mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
disp: msm: sde: fix logging in crtc and kms
Fix the crtc status to print the formatted src rect for all the planes and log the true inline rotation flag. Move the event log in splash cleanup, so that it is not logged for every frame. Change-Id: Id2a323254f632a649c335455f5ef53b7d805c3a5 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
parent
74f328561e
commit
5fb59a73b2
2 changed files with 7 additions and 5 deletions
|
|
@ -5374,8 +5374,8 @@ static int _sde_debugfs_status_show(struct seq_file *s, void *data)
|
|||
if (!pstate || !state)
|
||||
continue;
|
||||
|
||||
seq_printf(s, "\tplane:%u stage:%d\n", plane->base.id,
|
||||
pstate->stage);
|
||||
seq_printf(s, "\tplane:%u stage:%d rotation:%d\n",
|
||||
plane->base.id, pstate->stage, pstate->rotation);
|
||||
|
||||
if (plane->state->fb) {
|
||||
fb = plane->state->fb;
|
||||
|
|
@ -5405,7 +5405,8 @@ static int _sde_debugfs_status_show(struct seq_file *s, void *data)
|
|||
}
|
||||
|
||||
seq_printf(s, "\tsrc_x:%4d src_y:%4d src_w:%4d src_h:%4d\n",
|
||||
state->src_x, state->src_y, state->src_w, state->src_h);
|
||||
state->src_x >> 16, state->src_y >> 16,
|
||||
state->src_w >> 16, state->src_h >> 16);
|
||||
|
||||
seq_printf(s, "\tdst x:%4d dst_y:%4d dst_w:%4d dst_h:%4d\n",
|
||||
state->crtc_x, state->crtc_y, state->crtc_w,
|
||||
|
|
|
|||
|
|
@ -881,11 +881,12 @@ static void _sde_kms_release_splash_resource(struct sde_kms *sde_kms,
|
|||
|
||||
priv = sde_kms->dev->dev_private;
|
||||
|
||||
SDE_EVT32(crtc->base.id, crtc->state->active,
|
||||
sde_kms->splash_data.num_splash_displays);
|
||||
if (!crtc->state->active || !sde_kms->splash_data.num_splash_displays)
|
||||
return;
|
||||
|
||||
SDE_EVT32(DRMID(crtc), crtc->state->active,
|
||||
sde_kms->splash_data.num_splash_displays);
|
||||
|
||||
for (i = 0; i < MAX_DSI_DISPLAYS; i++) {
|
||||
splash_display = &sde_kms->splash_data.splash_display[i];
|
||||
if (splash_display->encoder &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue