[PATCH 0/3] drm/vc4: Streamline the vmap and mmap code
Thomas Zimmermann
tzimmermann at suse.de
Fri Jan 8 14:08:05 UTC 2021
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
More information about the dri-devel
mailing list