drm/vc4: Set up SCALER_DISPCTRL at boot.
authorEric Anholt <eric@anholt.net>
Thu, 15 Sep 2016 14:25:23 +0000 (15:25 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:52:42 +0000 (17:52 +0000)
commitdb9d7eecbf6c2f78b465d7ba31cd8909c3579ce4
tree01267ff8c711c1671f6c979d8508632a04be5378
parenta5abc8d4ad9cb505862d551ed83d68180477c311
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>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h