Skip to content
Commit b81d44d5 authored by Satyajit's avatar Satyajit Committed by Christian König
Browse files

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: default avatarSatyajit <satyajit.sahu@amd.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
parent 361d4bff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment