drm/vc4: Reorder the bind order of the devices
authorMaxime Ripard <maxime@cerno.tech>
Thu, 11 Jun 2020 13:36:46 +0000 (15:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 7 Jul 2020 08:27:04 +0000 (10:27 +0200)
We'll need the HVS to be bound before the TXP for the upcoming reworks, but
it needs to happen before the PV are bound so that the code to set the
possible_crtcs field works properly on the TXP. Move it right between the
two devices.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/2d7fcde29dec429442eb76afc51d8cc275cb407f.1591882579.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c

index 7792c97..38343d2 100644 (file)
@@ -343,8 +343,8 @@ static struct platform_driver *const component_drivers[] = {
        &vc4_vec_driver,
        &vc4_dpi_driver,
        &vc4_dsi_driver,
-       &vc4_txp_driver,
        &vc4_hvs_driver,
+       &vc4_txp_driver,
        &vc4_crtc_driver,
        &vc4_v3d_driver,
 };