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

Commit e2aa25cd authored by Dhaval Patel's avatar Dhaval Patel
Browse files

msm: mdss: remove invalid csc initialization during hw init



CSC configuration should not be re-initialized in hw init
because it overrides the configuration during idle power
collapse restore. That leads to invalid csc table
configuration after idle pc. All csc configuration will
be passed by client in atomic validate/commit IOCTL call
and will be reset in pipe free call.

Change-Id: Id3096051584f756dc7af58f765040bcc445af047
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 588758f4
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1487,7 +1487,6 @@ static void mdss_hw_rev_init(struct mdss_data_type *mdata)
 */
void mdss_hw_init(struct mdss_data_type *mdata)
{
	int i;
	struct mdss_mdp_pipe *vig;

	mdss_hw_rev_init(mdata);
@@ -1508,10 +1507,6 @@ void mdss_hw_init(struct mdss_data_type *mdata)

	vig = mdata->vig_pipes;

	/* initialize csc matrix default value */
	for (i = 0; i < mdata->nvig_pipes; i++)
		vig[i].csc_coeff_set = MDP_CSC_ITU_R_709;

	mdata->nmax_concurrent_ad_hw =
		(mdata->mdp_rev < MDSS_MDP_HW_REV_103) ? 1 : 2;