brcm2708: update linux 4.4 patches to latest version
[openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0099-drm-vc4-No-need-to-stop-the-stopped-threads.patch
1 From 8faa3b83201819d56f997a2b2ecaf8c690080852 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Fri, 23 Oct 2015 12:31:56 +0100
4 Subject: [PATCH 099/170] drm/vc4: No need to stop the stopped threads.
5
6 This was leftover debug code from the hackdriver.  We never submit
7 unless the thread is already idle.
8
9 Signed-off-by: Eric Anholt <eric@anholt.net>
10 ---
11  drivers/gpu/drm/vc4/vc4_gem.c | 4 ----
12  1 file changed, 4 deletions(-)
13
14 --- a/drivers/gpu/drm/vc4/vc4_gem.c
15 +++ b/drivers/gpu/drm/vc4/vc4_gem.c
16 @@ -104,10 +104,6 @@ submit_cl(struct drm_device *dev, uint32
17  {
18         struct vc4_dev *vc4 = to_vc4_dev(dev);
19  
20 -       /* Stop any existing thread and set state to "stopped at halt" */
21 -       V3D_WRITE(V3D_CTNCS(thread), V3D_CTRUN);
22 -       barrier();
23 -
24         V3D_WRITE(V3D_CTNCA(thread), start);
25         barrier();
26