]> 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)
commitb892797b49d772cc5d9a217e85879902fba04ad9
tree50c1428b4bf4fd2a7d34dc618fb2f4eaaf3a9444
parentf5e22a5486317704203fa49f143975e2996fe29d
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