linux-stable/drivers/gpu
Tiago Vignatti 2dbf0d9097 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
2016-02-09 11:21:03 +01:00
..
drm drm/i915: Use CPU mapping for userspace dma-buf mmap() 2016-02-09 11:21:03 +01:00
host1x gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
ipu-v3 Merge branch 'patchwork' into v4l_for_linus 2016-01-11 11:13:27 -02:00
vga More power management and ACPI updates for v4.5-rc1 2016-01-20 19:06:49 -08:00
Makefile