aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/malidp_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2020-05-11 11:35:52 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-06-03 15:07:40 +0200
commit26d3ac3cb04d171a861952e89324e347598a347f (patch)
tree4ba8c046f1a533b2ba10d5322ceca4a6ae46b8f2 /drivers/gpu/drm/arm/malidp_drv.c
parentdrm/shmem-helpers: Don't call get/put_pages on imported dma-buf in vmap (diff)
downloadlinux-dev-26d3ac3cb04d171a861952e89324e347598a347f.tar.xz
linux-dev-26d3ac3cb04d171a861952e89324e347598a347f.zip
drm/shmem-helpers: Redirect mmap for imported dma-buf
Currently this seems to work by converting the sgt into a pages array, and then treating it like a native object. Do the right thing and redirect mmap to the exporter. With this nothing is calling get_pages anymore on imported dma-buf, and we can start to remove the use of the ->pages array for that case. v2: Rebase Tested-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Rob Herring <robh@kernel.org> Cc: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200511093554.211493-8-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_drv.c')
0 files changed, 0 insertions, 0 deletions