]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3e9a8e71ff7de73a134a5f1a7a1b860491acb00
tree76d9a72d3303eb693b9b71f20997048f21f9693c
parent78ec89328962dfb7a67f43b28c5f659a52574e3f
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