mbox series

[v3,0/2] drm: mmap fixups

Message ID 20191127092523.5620-1-kraxel@redhat.com (mailing list archive)
Headers show
Series drm: mmap fixups | expand

Message

Gerd Hoffmann Nov. 27, 2019, 9:25 a.m. UTC
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(-)