diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-07-30 20:35:08 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-08-02 16:41:20 +0200 |
commit | f6424ecdb3c8aba18997a6992f780ab9c27734bc (patch) | |
tree | fba6a2c62752668788182d3129dbdb80f852bfcb /ipc/syscall.c | |
parent | 279cc2e9543eb357c0ef299cf398b2e74a021f6b (diff) | |
download | linux-stable-f6424ecdb3c8aba18997a6992f780ab9c27734bc.tar.gz linux-stable-f6424ecdb3c8aba18997a6992f780ab9c27734bc.tar.bz2 linux-stable-f6424ecdb3c8aba18997a6992f780ab9c27734bc.zip |
drm/gem: Provide drm_gem_fb_{vmap,vunmap}()
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.
v4:
* remove duplicated blank line
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@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210730183511.20080-3-tzimmermann@suse.de
Diffstat (limited to 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions