[PATCH v5] mmap on the dma-buf directly

Tiago Vignatti tiago.vignatti at intel.com
Wed Aug 26 16:29:12 PDT 2015


Lot's of discussion since v4, thanks for your feedback:

http://lists.freedesktop.org/archives/dri-devel/2015-August/088259.html

The two main concerns was about range-based flush (which we decided to
postpone) and about making the SYNC ioctl mandatory. I need you guys guiding
and educating me on the latter now. PTAL.

Tiago


Daniel Thompson (1):
  drm: prime: Honour O_RDWR during prime-handle-to-fd

Daniel Vetter (1):
  dma-buf: Add ioctls to allow userspace to flush

Tiago Vignatti (4):
  dma-buf: Remove range-based flush
  dma-buf: DRAFT: Make SYNC mandatory when userspace mmap
  drm/i915: Implement end_cpu_access
  drm/i915: Use CPU mapping for userspace dma-buf mmap()

 Documentation/dma-buf-sharing.txt         | 31 +++++++----
 drivers/dma-buf/dma-buf.c                 | 87 +++++++++++++++++++++++++++----
 drivers/gpu/drm/drm_prime.c               | 10 ++--
 drivers/gpu/drm/i915/i915_gem_dmabuf.c    | 42 ++++++++++++++-
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c |  4 +-
 drivers/gpu/drm/udl/udl_fb.c              |  2 -
 drivers/staging/android/ion/ion.c         |  6 +--
 drivers/staging/android/ion/ion_test.c    |  4 +-
 include/linux/dma-buf.h                   | 15 +++---
 include/uapi/drm/drm.h                    |  1 +
 include/uapi/linux/dma-buf.h              | 41 +++++++++++++++
 11 files changed, 196 insertions(+), 47 deletions(-)
 create mode 100644 include/uapi/linux/dma-buf.h

-- 
2.1.0



More information about the dri-devel mailing list