video/sprdfb: dispc: fix clipping problem for yuv buffer. 25/103325/2
authorJin-young Jeon <jy0.jeon@samsung.com>
Thu, 10 Nov 2016 08:18:58 +0000 (17:18 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 9 Dec 2016 00:49:45 +0000 (16:49 -0800)
commit916b094f76ae8b8b0da443094a21c5b0e116d92e
tree1dacd647ac6fdf986fdc9cad878328917a475a7e
parent557e266d1fa6afb7acb26656c1dd600a6f66bcce
video/sprdfb: dispc: fix clipping problem for yuv buffer.

Aligned width(pitch) instead of width of buffer should be used to
calculate base address of UV and V of YUV image format, then this will
solve clipping problem for YUV image.

This commit comes from product kernel.

Change-Id: Idafe5d0231888693a41450fe65b1af85d35f6911
Signed-off-by: Jin-young Jeon <jy0.jeon@samsung.com>
[jy0922.shim: rewrite commit messages]
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/video/sprdfb/sprdfb_dispc.c