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

Commit 5fb59a73 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

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: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 74f32856
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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,
+3 −2
Original line number Diff line number Diff line
@@ -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 &&