]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit925b93cc3826d4bd9fec0cdef6c665996a49cc5d
tree50c1428b4bf4fd2a7d34dc618fb2f4eaaf3a9444
parentf61731dc242c6ac3cb79bdca05b7350bbe069a56
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