0275-drm-vc4-Add-missing-__iomem-annotation-to-hw_dlist.patch 829 B

12345678910111213141516171819202122232425
  1. From 2c5f2132dd02490d11aa37a22c258ad345b37c92 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Mon, 28 Dec 2015 14:14:57 -0800
  4. Subject: [PATCH] drm/vc4: Add missing __iomem annotation to hw_dlist.
  5. This is the pointer to the HVS device's memory where we stored the
  6. contents of *dlist.
  7. Signed-off-by: Eric Anholt <eric@anholt.net>
  8. (cherry picked from commit 17eac75111ebda33e13d8d8d98aaedfc1a9c2abf)
  9. ---
  10. drivers/gpu/drm/vc4/vc4_plane.c | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. --- a/drivers/gpu/drm/vc4/vc4_plane.c
  13. +++ b/drivers/gpu/drm/vc4/vc4_plane.c
  14. @@ -39,7 +39,7 @@ struct vc4_plane_state {
  15. /* Offset where the plane's dlist was last stored in the
  16. * hardware at vc4_crtc_atomic_flush() time.
  17. */
  18. - u32 *hw_dlist;
  19. + u32 __iomem *hw_dlist;
  20. };
  21. static inline struct vc4_plane_state *