brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/dedeckeh.git] / target / linux / brcm2708 / patches-4.4 / 0340-drm-vc4-Add-missing-render-node-support.patch
1 From af5a17532c46fe8035fea72ba7d9409b7c9795f9 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Thu, 14 Apr 2016 23:16:05 -0700
4 Subject: [PATCH 340/381] drm/vc4: Add missing render node support
5
6 There shouldn't be any other driver support necessary, since none of
7 the driver-specific ioctls ever required auth, and none of them deal
8 with modesetting.
9
10 Signed-off-by: Eric Anholt <eric@anholt.net>
11 Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
12 (cherry picked from commit 0cd3e27476620176c19e346f82576c6e139b85a9)
13 ---
14 drivers/gpu/drm/vc4/vc4_drv.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 --- a/drivers/gpu/drm/vc4/vc4_drv.c
18 +++ b/drivers/gpu/drm/vc4/vc4_drv.c
19 @@ -90,6 +90,7 @@ static struct drm_driver vc4_drm_driver
20 DRIVER_ATOMIC |
21 DRIVER_GEM |
22 DRIVER_HAVE_IRQ |
23 + DRIVER_RENDER |
24 DRIVER_PRIME),
25 .lastclose = vc4_lastclose,
26 .preclose = vc4_drm_preclose,