diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-01-08 14:51:02 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-03 16:36:43 +0100 |
commit | be4f235c43f06ae749b8f99b04f899d1e9bd561e (patch) | |
tree | d22ce7f69cfd883908a9270033adab096018b590 /drivers/gpu/drm/omapdrm/omap_gem.c | |
parent | drm/omap: verify that display x-res is divisible by 8 (diff) | |
download | linux-be4f235c43f06ae749b8f99b04f899d1e9bd561e.tar.xz linux-be4f235c43f06ae749b8f99b04f899d1e9bd561e.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions