Skip to content

drm/vc4: Streamline the vmap and mmap code

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/vc4: Use drm_gem_cma_vmap() directlydrivers/gpu/drm/vc4/vc4_bo.c drivers/gpu/drm/vc4/vc4_drv.h+1 -140 replies
2/3drm/vc4: Make several BO functions staticdrivers/gpu/drm/vc4/vc4_bo.c drivers/gpu/drm/vc4/vc4_drv.h+17 -190 replies
3/3drm/vc4: Move mmap implementation into GEM object functiondrivers/gpu/drm/vc4/vc4_bo.c drivers/gpu/drm/vc4/vc4_drv.c drivers/gpu/drm/vc4/vc4_drv.h+6 -650 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaxime Ripard
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drm/vc4: Streamline the vmap and mmap code

Daniel recently pointed out that vc4 has test in it's vmap code that cannot really fail. [1] I took the opportunity to cleanup vc'4 vmap and mmap implementations.

The patches got smoke-tested by running fbdev and Xorg on an RPi3.

[1] https://lore.kernel.org/dri-devel/[email protected]/

Thomas Zimmermann (3):
drm/vc4: Use drm_gem_cma_vmap() directly drm/vc4: Make several BO functions static drm/vc4: Move mmap implementation into GEM object function

 drivers/gpu/drm/vc4/vc4_bo.c  | 97 +++++++----------------------------
 drivers/gpu/drm/vc4/vc4_drv.c | 14 +----
 drivers/gpu/drm/vc4/vc4_drv.h |  5 --
 3 files changed, 21 insertions(+), 95 deletions(-)

--
2.29.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel