drm/amdgpu
Satyajit b81d44d587 libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export
Currently while exporting prime handle to fd read write access is
not granted. mmap fails because of this. mmap was not supported on
prime initially.
Here is link to related discussion
https://lists.freedesktop.org/archives/dri-devel/2017-February/131840.html

Adding the DRM_RDWR flag in amdgpu_bo_export to support mmap.

Signed-off-by: Satyajit <satyajit.sahu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
2018-03-22 09:59:07 +01:00
..
.editorconfig Add meson build system 2018-01-12 09:40:48 -08:00
Android.mk amdgpu: Only remember the device's marketing name 2017-12-05 12:50:20 +01:00
Makefile.am amdgpu: Only remember the device's marketing name 2017-12-05 12:50:20 +01:00
Makefile.sources amdgpu: Add wrappers for AMDGPU_VM IOCTL. 2017-10-27 18:25:53 +02:00
amdgpu-symbol-check *-symbol-check: Don't hard-code nm executable 2018-02-23 17:53:08 +00:00
amdgpu.h Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV" 2018-03-08 20:04:01 -05:00
amdgpu_asic_id.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_bo.c libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export 2018-03-22 09:59:07 +01:00
amdgpu_cs.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_device.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_gpu_info.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_internal.h meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_vamgr.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_vm.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
libdrm_amdgpu.pc.in amdgpu: add libdrm as private requirement/dependency 2016-02-04 13:22:50 +00:00
meson.build meson: use pkg-config to detect libatomic_ops 2018-03-09 17:12:02 +00:00
util_hash.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
util_hash.h meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
util_hash_table.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
util_hash_table.h meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00