brcm2708: update linux 4.4 patches to latest version
[librecmc/librecmc.git] / target / linux / brcm2708 / patches-4.4 / 0278-drm-vc4-Improve-comments-on-vc4_plane_state-members.patch
1 From 3049b5e72472a580753328c31e191fac5e3b151b Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Mon, 28 Dec 2015 14:14:09 -0800
4 Subject: [PATCH 278/304] drm/vc4: Improve comments on vc4_plane_state members.
5
6 Signed-off-by: Eric Anholt <eric@anholt.net>
7 (cherry picked from commit f427fb16cf756548c39256b569cf083f39bcc4e9)
8 ---
9  drivers/gpu/drm/vc4/vc4_plane.c | 9 ++++++---
10  1 file changed, 6 insertions(+), 3 deletions(-)
11
12 --- a/drivers/gpu/drm/vc4/vc4_plane.c
13 +++ b/drivers/gpu/drm/vc4/vc4_plane.c
14 @@ -26,16 +26,19 @@
15  
16  struct vc4_plane_state {
17         struct drm_plane_state base;
18 +       /* System memory copy of the display list for this element, computed
19 +        * at atomic_check time.
20 +        */
21         u32 *dlist;
22 -       u32 dlist_size; /* Number of dwords in allocated for the display list */
23 +       u32 dlist_size; /* Number of dwords allocated for the display list */
24         u32 dlist_count; /* Number of used dwords in the display list. */
25  
26         /* Offset in the dlist to pointer word 0. */
27         u32 pw0_offset;
28  
29         /* Offset where the plane's dlist was last stored in the
30 -          hardware at vc4_crtc_atomic_flush() time.
31 -       */
32 +        * hardware at vc4_crtc_atomic_flush() time.
33 +        */
34         u32 *hw_dlist;
35  };
36