drm/rcar-du: Fix buffer pitch alignment for R8A7790 DU
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 14 Jun 2013 18:52:52 +0000 (20:52 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 9 Aug 2013 21:17:49 +0000 (23:17 +0200)
commit9e2d2de9e8107643ba50debc475fc966d3f77364
tree2acac9f1f553f637c2770b13e34f9300a429a311
parentef2d84bec6a02c4536cab1e0a8f13792ad86a7bc
drm/rcar-du: Fix buffer pitch alignment for R8A7790 DU

The R8A7790 DU seems to require a 128 bytes pitch alignment, even though
the documentation only mentions a 16 pixels alignement as for the
R8A7779 DU. Make this configurable through a device flag.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_kms.c