drm: rcar-du: Update framebuffer pitch and alignment limits for Gen3
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 31 Aug 2018 18:12:59 +0000 (19:12 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Sep 2018 14:28:33 +0000 (17:28 +0300)
commitf09e5b5d776debc2761e8d9330d60b8dcd8cb9dd
tree50c1428b4bf4fd2a7d34dc618fb2f4eaaf3a9444
parent0f35b25b87923394cd9048a199d05e994fbf8bae
drm: rcar-du: Update framebuffer pitch and alignment limits for Gen3

The framebuffer pitch and alignment constraints reflect the limitations
of the Gen2 DU hardware. On Gen3, the DU has no memory interface and
thus doesn't impose any constraint. The limitations come instead from
the VSP that has a limit of 65535 bytes for the pitch and no alignment
constraint. Update the checks accordingly.

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