drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Jan 2019 23:59:34 +0000 (01:59 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 8 Feb 2019 00:25:56 +0000 (02:25 +0200)
commita6cc417d3eee4ac37aa9547cf82d4ff155d1780c
tree76d9a72d3303eb693b9b71f20997048f21f9693c
parent02f2b30032c12b1b91abe5f2bd0d74ba1f700ea1
drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3

On the D3 and E3 SoCs the LVDS PLL clock output provides the dot clock
to the DU channels, even when the LVDS outputs are not in use. Enable
and disable the LVDS clock output when enabling or disabling a CRTC
connected to the DPAD0 output.

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