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/20201211094000.GK401619@phenom.ffwll.local/

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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to