drm/armada: fix YUV planar format framebuffer offsets
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:16:22 +0000 (12:16 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:16:22 +0000 (12:16 +0000)
commitde0ea9ad2f548dd9e555cac27cf7ade1db5b26ea
tree10d5dee637c6f908a3605953417b4c4b2e84343b
parentd6a48965db3d5f9b524ebfdd8c1fe3a4175d8e35
drm/armada: fix YUV planar format framebuffer offsets

We weren't correctly calculating the YUV planar offsets for subsampled
chroma planes correctly - fix up the coordinates for planes 1 and 2.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_crtc.c