]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/vc4: Bind the HVS before we bind the individual CRTCs.
authorEric Anholt <eric@anholt.net>
Fri, 8 Jul 2016 18:25:09 +0000 (11:25 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2016 00:17:13 +0000 (17:17 -0700)
We need to be able to look at the CRTC's registers in the HVS as part
of initialization, while the HVS doesn't need to look at the PV
registers.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-and-tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
drivers/gpu/drm/vc4/vc4_drv.c

index 250ed7e3754c078bdde9907a9da027052cb52922..6d97d3edb2d2d31261f64712efb9888bc258d4dc 100644 (file)
@@ -259,8 +259,8 @@ static const struct component_master_ops vc4_drm_ops = {
 static struct platform_driver *const component_drivers[] = {
        &vc4_hdmi_driver,
        &vc4_dpi_driver,
-       &vc4_crtc_driver,
        &vc4_hvs_driver,
+       &vc4_crtc_driver,
        &vc4_v3d_driver,
 };