exynos-linux-stable/drivers/gpu/drm/omapdrm
Tomi Valkeinen 38780b9ae4 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
[ Upstream commit 9fa1d7537242bd580ffa99c4725a0407096aad26 ]

omap_gem_dmabuf_mmap() returns an error (with a WARN) when called for a
buffer which is allocated with dma_alloc_*(). This prevents dmabuf mmap
from working on SoCs without DMM, e.g. AM4 and OMAP3.

I could not find any reason for omap_gem_dmabuf_mmap() rejecting such
buffers, and just removing the if() fixes the limitation.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:07:20 +01:00
..
displays drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS 2017-11-21 09:23:25 +01:00
dss Revert "gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle" 2016-08-12 07:10:37 -04:00
Kconfig drm/omap: make fbdev support really optional 2016-07-18 09:11:34 +02:00
Makefile drm/omap: remove -Werror from Makefile 2016-03-03 17:38:46 +02:00
omap_connector.c drm: omap: Rely on the default ->best_encoder() behavior 2016-06-10 17:25:11 +02:00
omap_crtc.c drm/omapdrm: Implement gamma_lut atomic crtc properties 2016-06-07 17:10:49 +03:00
omap_debugfs.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm/atomic-helper: Add NO_DISABLE_AFTER_MODESET flag support for plane commit 2016-08-29 11:29:37 +02:00
omap_drv.h Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
omap_encoder.c drm/omap: print an error if display enable fails 2016-03-03 17:36:41 +02:00
omap_fb.c drm: BIT(DRM_ROTATE_?) -> DRM_ROTATE_? 2016-08-08 14:17:56 -04:00
omap_fbdev.c drm/omapdrm: don't call drm_helper_disable_unused_functions 2016-06-21 10:01:24 +02:00
omap_gem.c Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux 2016-08-01 21:44:08 -04:00
omap_gem_dmabuf.c drm/omap: fix dmabuf mmap for dma_alloc'ed buffers 2017-12-20 10:07:20 +01:00
omap_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
omap_plane.c drm: Allow drivers to modify plane_state in prepare_fb/cleanup_fb 2016-08-19 10:58:55 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
TODO