[PATCH v2 2/5] drm/gem: Provide drm_gem_fb_{vmap,vunmap}()
Sam Ravnborg
sam at ravnborg.org
Sun Jul 25 19:55:36 UTC 2021
On Sun, Jul 25, 2021 at 07:44:35PM +0200, Thomas Zimmermann wrote:
> Move framebuffer vmap code from shadow-buffered plane state into the new
> interfaces drm_gem_fb_vmap() and drm_gem_fb_vunmap(). These functions
> provide mappings of a framebuffer's BOs into kernel address space. No
> functional changes.
>
> v2:
> * using [static N] for array parameters enables compile-time checks
> * include <drm/drm_fourcc.h> for DRM_FORMAT_MAX_PLANES (kernel
> test robot)
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Reviewed-by: Sam Ravnborg <sam at ravnborg.org>
More information about the dri-devel
mailing list