Просмотр исходного кода

drm/vc4: Bind the HVS before we bind the individual CRTCs.

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>
Eric Anholt 9 лет назад
Родитель
Сommit
7a100969f3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/gpu/drm/vc4/vc4_drv.c

+ 1 - 1
drivers/gpu/drm/vc4/vc4_drv.c

@@ -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,
 };