]> 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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 28 Aug 2017 18:30:30 +0000 (15:30 -0300)
commitd3ea5d7bff4c55d276c25d4143053221f332b5d8
tree99bdd210331ef5cf162984b9b8e453c39f69aa2a
parentc522e381f7b5a380b48d67be1c32983ceb036f07
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