]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/vc4: Set up SCALER_DISPCTRL at boot.
authorEric Anholt <eric@anholt.net>
Thu, 15 Sep 2016 14:25:23 +0000 (15:25 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:55 +0000 (12:07 +0200)
commit377e009dbc11d2bac1cc2f4972289c92fcb42cb1
tree09a0a4533070a7a1a0ac9de10a938756c55120c8
parentee39a060f6e7a05cd8fe871f31f339fdebf907aa
drm/vc4: Set up SCALER_DISPCTRL at boot.

We want the HVS on, obviously, and we also want DSP3 (PV1's source) to
be muxed from HVS channel 2 like we expect in vc4_crtc.c.  The
firmware wasn't setting the DSP3 mux up when both the LCD and HDMI
were disabled.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h