drm/vc4: Set up SCALER_DISPCTRL at boot.
authorEric Anholt <eric@anholt.net>
Wed, 14 Dec 2016 19:46:14 +0000 (11:46 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Feb 2017 20:51:22 +0000 (12:51 -0800)
commitd17a1bb9b801f7046af29c31b946a9619bfe382d
treec0e2db3ed55437646c3cc0138536955606349f7e
parent969218fee101af5335314e8521fb1a29e49e560b
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>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161214194621.16499-5-eric@anholt.net
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h