OSDN Git Service

drm/vc4: Improve comments on vc4_plane_state members.
authorEric Anholt <eric@anholt.net>
Mon, 28 Dec 2015 22:14:09 +0000 (14:14 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 19:24:08 +0000 (11:24 -0800)
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_plane.c

index 0addbad..45e353d 100644 (file)
 
 struct vc4_plane_state {
        struct drm_plane_state base;
+       /* System memory copy of the display list for this element, computed
+        * at atomic_check time.
+        */
        u32 *dlist;
-       u32 dlist_size; /* Number of dwords in allocated for the display list */
+       u32 dlist_size; /* Number of dwords allocated for the display list */
        u32 dlist_count; /* Number of used dwords in the display list. */
 
        /* Offset in the dlist to pointer word 0. */
        u32 pw0_offset;
 
        /* Offset where the plane's dlist was last stored in the
-          hardware at vc4_crtc_atomic_flush() time.
-       */
+        * hardware at vc4_crtc_atomic_flush() time.
+        */
        u32 *hw_dlist;
 };