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

Commit fb72c8fa authored by santosh's avatar santosh
Browse files

disp: msm: sde: add vig formats before qseed and csc initializations



Setup vig pipe makes an early return if csc and qseed are
not supported. This change moves addition of vig formats
before intializing qseed and csc.

Change-Id: I2eb651f7bbd81757a9de23501fda51a510d0e673
Signed-off-by: default avatarsantosh <santoshkumar@codeaurora.org>
parent 19253d6e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1434,6 +1434,9 @@ static int _sde_sspp_setup_vigs(struct device_node *np,
			set_bit(SDE_PERF_SSPP_QOS_8LVL, &sspp->perf_features);
		vig_count++;

		sblk->format_list = sde_cfg->vig_formats;
		sblk->virt_format_list = sde_cfg->virt_vig_formats;

		if ((sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED2) ||
		    (sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED3) ||
		    (sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED3LITE)) {
@@ -1449,9 +1452,6 @@ static int _sde_sspp_setup_vigs(struct device_node *np,

		_sde_sspp_setup_vigs_pp(props, sde_cfg, sspp);

		sblk->format_list = sde_cfg->vig_formats;
		sblk->virt_format_list = sde_cfg->virt_vig_formats;

		if (sde_cfg->true_inline_rot_rev > 0) {
			set_bit(SDE_SSPP_TRUE_INLINE_ROT, &sspp->features);
			sblk->in_rot_format_list = sde_cfg->inline_rot_formats;