brcm2708: update linux 4.4 patches to latest version
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0102-squash-fixups.patch
1 From 505327ef0c6712565139bfbae6fde8c881566088 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 18 Nov 2015 18:29:58 +0000
4 Subject: [PATCH] squash: fixups
5
6 ---
7  drivers/gpu/drm/vc4/Kconfig   | 2 +-
8  drivers/gpu/drm/vc4/vc4_drv.c | 2 +-
9  drivers/gpu/drm/vc4/vc4_kms.c | 2 +-
10  3 files changed, 3 insertions(+), 3 deletions(-)
11
12 --- a/drivers/gpu/drm/vc4/Kconfig
13 +++ b/drivers/gpu/drm/vc4/Kconfig
14 @@ -1,6 +1,6 @@
15  config DRM_VC4
16         tristate "Broadcom VC4 Graphics"
17 -       depends on ARCH_BCM2835 || COMPILE_TEST
18 +       depends on ARCH_BCM2835 || ARCH_BCM2708 || ARCH_BCM2709 || COMPILE_TEST
19         depends on DRM && HAVE_DMA_ATTRS
20         select DRM_KMS_HELPER
21         select DRM_KMS_CMA_HELPER
22 --- a/drivers/gpu/drm/vc4/vc4_drv.c
23 +++ b/drivers/gpu/drm/vc4/vc4_drv.c
24 @@ -127,7 +127,7 @@ static struct drm_driver vc4_drm_driver
25         .num_ioctls = ARRAY_SIZE(vc4_drm_ioctls),
26         .fops = &vc4_drm_fops,
27  
28 -       .gem_obj_size = sizeof(struct vc4_bo),
29 +       //.gem_obj_size = sizeof(struct vc4_bo),
30  
31         .name = DRIVER_NAME,
32         .desc = DRIVER_DESC,
33 --- a/drivers/gpu/drm/vc4/vc4_kms.c
34 +++ b/drivers/gpu/drm/vc4/vc4_kms.c
35 @@ -45,7 +45,7 @@ vc4_atomic_complete_commit(struct vc4_co
36  
37         drm_atomic_helper_commit_modeset_disables(dev, state);
38  
39 -       drm_atomic_helper_commit_planes(dev, state);
40 +       drm_atomic_helper_commit_planes(dev, state, false);
41  
42         drm_atomic_helper_commit_modeset_enables(dev, state);
43