[PATCH v3 0/2] drm: mmap fixups

Gerd Hoffmann kraxel at redhat.com
Wed Nov 27 09:25:21 UTC 2019


Tested on qemu, with bochs (vram helpers) and cirrus (shmem helpers).
Cc'ing intel-gfx for CI coverage.

v3: better fake-offset handling in drm_gem_prime_mmap() (Rob)

Gerd Hoffmann (2):
  drm: call drm_gem_object_funcs.mmap with fake offset
  drm: share address space for dma bufs

 include/drm/drm_gem.h                       | 4 +---
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 4 +---
 drivers/gpu/drm/drm_gem.c                   | 3 ---
 drivers/gpu/drm/drm_gem_shmem_helper.c      | 3 +++
 drivers/gpu/drm/drm_prime.c                 | 9 ++++++---
 drivers/gpu/drm/ttm/ttm_bo_vm.c             | 7 -------
 6 files changed, 11 insertions(+), 19 deletions(-)

-- 
2.18.1



More information about the dri-devel mailing list