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: Alan Kwong <akwong@codeaurora.org>
This commit is contained in:
Alan Kwong 2016-05-09 21:07:43 -04:00 committed by Jeevan Shriram
parent 064aa4c8ce
commit b7d244ed56

View file

@ -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);