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

Commit 4415d1e1 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: sde: fix wrong chroma stride for h2v1/h1v2 formats" into msm-4.8

parents 00246cd5 dbec6bb5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -355,13 +355,6 @@ int sde_mdp_get_plane_sizes(struct sde_mdp_format_params *fmt, u32 w, u32 h,

			chroma_samp = fmt->chroma_sample;

			if (rotation) {
				if (chroma_samp == SDE_MDP_CHROMA_H2V1)
					chroma_samp = SDE_MDP_CHROMA_H1V2;
				else if (chroma_samp == SDE_MDP_CHROMA_H1V2)
					chroma_samp = SDE_MDP_CHROMA_H2V1;
			}

			sde_mdp_get_v_h_subsample_rate(chroma_samp,
				&v_subsample, &h_subsample);