summaryrefslogtreecommitdiffstats
path: root/fs/remap_range.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-07-30 20:35:11 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2021-08-02 16:41:20 +0200
commit50fff206c5e3a04fcb239ad58d89cad166711b7f (patch)
treea64842833a7dfe93b460c6186a93d40ece821edd /fs/remap_range.c
parentdrm/gud: Map framebuffer BOs with drm_gem_fb_vmap() (diff)
downloadlinux-50fff206c5e3a04fcb239ad58d89cad166711b7f.tar.xz
linux-50fff206c5e3a04fcb239ad58d89cad166711b7f.zip
drm/vkms: Map output framebuffer BOs with drm_gem_fb_vmap()
Abstract the framebuffer details by mappings its BOs with a call to drm_gem_fb_vmap(). Unmap with drm_gem_fb_vunamp(). Before, the output address with stored as raw pointer in the priv field of struct drm_writeback_job. Introduce the new type struct vkms_writeback_job, which holds the output mappings addresses while the writeback job is active. The patchset also cleans up some internal casting an setup of the output addresses. No functional changes. v3: * free instances of struct vkms_writeback_job on cleanup or errors Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210730183511.20080-6-tzimmermann@suse.de
Diffstat (limited to 'fs/remap_range.c')
0 files changed, 0 insertions, 0 deletions