From: Eric Anholt Date: Fri, 8 Jul 2016 18:25:09 +0000 (-0700) Subject: drm/vc4: Bind the HVS before we bind the individual CRTCs. X-Git-Tag: v4.8-rc1~62^2~19^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a100969f30b77761901c05a5c810bcaea65df44;p=thirdparty%2Flinux.git 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 Reviewed-and-tested-by: Mario Kleiner --- diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 250ed7e3754c0..6d97d3edb2d2d 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/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, };