brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0455-drm-vc4-Bind-the-HVS-before-we-bind-the-individual-C.patch
1 From 4bdd6172dbf4ea9d9ae85b6a3214bdb787f16778 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Fri, 8 Jul 2016 11:25:09 -0700
4 Subject: [PATCH] drm/vc4: Bind the HVS before we bind the individual CRTCs.
5
6 We need to be able to look at the CRTC's registers in the HVS as part
7 of initialization, while the HVS doesn't need to look at the PV
8 registers.
9
10 Signed-off-by: Eric Anholt <eric@anholt.net>
11 Reviewed-and-tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
12 (cherry picked from commit 7a100969f30b77761901c05a5c810bcaea65df44)
13 ---
14 drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/drivers/gpu/drm/vc4/vc4_drv.c
18 +++ b/drivers/gpu/drm/vc4/vc4_drv.c
19 @@ -295,8 +295,8 @@ static struct platform_driver *const com
20 &vc4_hdmi_driver,
21 &vc4_dpi_driver,
22 &vc4_dsi_driver,
23 - &vc4_crtc_driver,
24 &vc4_hvs_driver,
25 + &vc4_crtc_driver,
26 &vc4_v3d_driver,
27 };
28