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

Commit 7a0cc3c1 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

msm: mdss: add xlog to async position update ioctl



Add xlog to log the pipe ndx and layer count during
the async position update ioctl call.

Change-Id: Ic1d381e76d4894550a37210bbc4344dd614ac5fb
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent b245a027
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1550,7 +1550,7 @@ int mdss_mdp_async_position_update(struct msm_fb_data_type *mfd,
	struct mdss_mdp_pipe *pipe = NULL;
	struct mdp_async_layer *layer;
	struct mdss_rect dst, src;
	u32 flush_bits = 0;
	u32 flush_bits = 0, inputndx = 0;

	mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON);

@@ -1584,10 +1584,12 @@ int mdss_mdp_async_position_update(struct msm_fb_data_type *mfd,
		mdss_mdp_pipe_position_update(pipe, &src, &dst);

		flush_bits |= mdss_mdp_get_pipe_flush_bits(pipe);
		inputndx |= layer->pipe_ndx;
	}
	mdss_mdp_async_ctl_flush(mfd, flush_bits);

done:
	MDSS_XLOG(inputndx, update_pos->input_layer_cnt, flush_bits, rc);
	mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF);
	return rc;
}