commit | be4f235c43f06ae749b8f99b04f899d1e9bd561e | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Fri Jan 08 15:51:02 2016 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Mar 03 17:36:43 2016 +0200 |
tree | d22ce7f69cfd883908a9270033adab096018b590 | |
parent | 2158f2c7fe7638040034135e934f89cb2e018625 [diff] |
drm/omap: verify that fb plane pitches are the same The DSS hardware uses the same ROW_INC value for both Y and UV planes for NV12 format. This means that the pitches of the Y and UV planes have to match. omapdrm doesn't check this at the moment, and this can lead into a broken NV12 fb on the screen. This patch adds the check. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>