diff options
author | Tiago Vignatti <tiago.vignatti@intel.com> | 2015-12-22 21:36:48 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-09 10:21:03 (GMT) |
commit | 2dbf0d90971a5c490f17976596a263913d8074c3 (patch) | |
tree | f6788a6a1c5920932196d4a9c40c32cb2b15b84e /include/drm | |
parent | 346400c801079114e89451b3191eaa4407507841 (diff) | |
download | linux-2dbf0d90971a5c490f17976596a263913d8074c3.tar.xz |
drm/i915: Use CPU mapping for userspace dma-buf mmap()
Userspace is the one in charge of flush CPU by wrapping mmap with
begin{,end}_cpu_access.
v2: Remove LLC check cause we have dma-buf sync providers now. Also, fix return
before transferring ownership when mmap fails.
v3: Fix return values.
v4: !obj->base.filp is user triggerable, so removed the WARN_ON.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1450820214-12509-6-git-send-email-tiago.vignatti@intel.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions