0277-drm-vc4-Improve-comments-on-vc4_plane_state-members.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 0580ea4ba574d30d1725649a28ab3466904599ea 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 277/381] drm/vc4: Improve comments on vc4_plane_state members.
  5. Signed-off-by: Eric Anholt <eric@anholt.net>
  6. (cherry picked from commit f427fb16cf756548c39256b569cf083f39bcc4e9)
  7. ---
  8. drivers/gpu/drm/vc4/vc4_plane.c | 9 ++++++---
  9. 1 file changed, 6 insertions(+), 3 deletions(-)
  10. --- a/drivers/gpu/drm/vc4/vc4_plane.c
  11. +++ b/drivers/gpu/drm/vc4/vc4_plane.c
  12. @@ -26,16 +26,19 @@
  13. struct vc4_plane_state {
  14. struct drm_plane_state base;
  15. + /* System memory copy of the display list for this element, computed
  16. + * at atomic_check time.
  17. + */
  18. u32 *dlist;
  19. - u32 dlist_size; /* Number of dwords in allocated for the display list */
  20. + u32 dlist_size; /* Number of dwords allocated for the display list */
  21. u32 dlist_count; /* Number of used dwords in the display list. */
  22. /* Offset in the dlist to pointer word 0. */
  23. u32 pw0_offset;
  24. /* Offset where the plane's dlist was last stored in the
  25. - hardware at vc4_crtc_atomic_flush() time.
  26. - */
  27. + * hardware at vc4_crtc_atomic_flush() time.
  28. + */
  29. u32 *hw_dlist;
  30. };