summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_plane.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-12-28 23:14:09 +0100
committerEric Anholt <eric@anholt.net>2016-02-16 20:24:08 +0100
commitf427fb16cf756548c39256b569cf083f39bcc4e9 (patch)
tree50f1e95ef5d97c8201ad4ec0510ae3f47d821037 /drivers/gpu/drm/vc4/vc4_plane.c
parentdrm: virtio-gpu: set atomic flag (diff)
downloadlinux-f427fb16cf756548c39256b569cf083f39bcc4e9.tar.xz
linux-f427fb16cf756548c39256b569cf083f39bcc4e9.zip
drm/vc4: Improve comments on vc4_plane_state members.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_plane.c')
-rw-r--r--drivers/gpu/drm/vc4/vc4_plane.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index 0addbad15832..45e353d65c3d 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -26,16 +26,19 @@
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;
};