drm/omap
Hemant Hariyani 357ef59882 libdrm: omap: Add DRM_RDWR flag to dmabuf export
Allows mmap on dmabuf fd with MAP_SHARED and PROT_WRITE.

This fixes boot failures with Android (likely w/ closed source
user-space drivers) that were caused due to mmap() returning
error.

Cc: Sean Paul <seanpaul@chromium.org>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Marissa Wall <marissaw@google.com>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
[picked and updated commitmsg from http://git.ti.com/cgit/cgit.cgi/android/external-libdrm.git/]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Alistair Strachan <astrachan@google.com>
[jstultz: Tweaked commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
2019-04-25 10:58:27 +01:00
..
Android.mk omap: add Android build support 2018-03-22 16:43:38 +00:00
Makefile.am automake: set NM before running the tests 2018-10-04 14:39:06 +01:00
libdrm_omap.pc.in omap: add omapdrm support 2012-03-28 23:00:14 +02:00
meson.build meson: make symbols hidden by default 2018-09-19 22:46:45 -07:00
omap-symbol-check *-symbols-check: error out when using unset variables 2018-10-04 14:39:27 +01:00
omap_drm.c libdrm: omap: Add DRM_RDWR flag to dmabuf export 2019-04-25 10:58:27 +01:00
omap_drm.h omap: include omap_drm.h independently 2012-08-23 14:21:01 -05:00
omap_drmif.h omap: add refcnting and handle tracking 2012-07-13 16:18:25 -05:00