]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Only initialise TVM_TVSYNC mode when supported
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Wed, 22 Sep 2021 23:47:23 +0000 (00:47 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Oct 2021 02:59:48 +0000 (05:59 +0300)
commit878dce823b63ebdbfccd13e4d260f62460e9cd63
treefb3dfd88d5fc80cf8005e433792183189a73ff73
parent07bd67dee746b24574f7b5012c192362b35d9b98
drm: rcar-du: Only initialise TVM_TVSYNC mode when supported

The R-Car DU as found on the D3, E3, and V3U do not have support
for an external synchronisation method.

In these cases, the dsysr cached register should not be initialised
in DSYSR_TVM_TVSYNC, but instead should be left clear to configure as
DSYSR_TVM_MASTER by default.

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