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

Commit cecb14a5 authored by Alan Kwong's avatar Alan Kwong Committed by Narendra Muppalla
Browse files

msm: sde: Correct rotator chroma alignment for nv12 ubwc



Correct rotator chroma alignment to 128 byte for nv12 ubwc format.  Chroma
block artifacts are seen without this correction.

CRs-Fixed: 1013358
Change-Id: I715094188dc2b61c04879f8f6ce7b2c8f2d815c5
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent effb5eed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ static int sde_mdp_get_ubwc_plane_size(struct sde_mdp_format_params *fmt,
					4096);

		/* CbCr bitstream stride and plane size */
		ps->ystride[1] = ALIGN(width, 64);
		ps->ystride[1] = ALIGN(width, 128);
		ps->plane_size[1] = ALIGN(ps->ystride[1] *
			ALIGN(height / 2, 32), 4096);