mmap with the dmabuf fd 68/286868/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 13 Jan 2023 06:44:58 +0000 (15:44 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 16 Jan 2023 04:42:41 +0000 (13:42 +0900)
commitef58d165ba069f16fc84f68e31d3c31fe77d8ba6
tree430a190ea24a718eb2cd9e03278b806b5d711779
parent6527387f12f3561a53ade4351679f081799b2915
mmap with the dmabuf fd

DRM_IOCTL_MODE_MAP_DUMB support only handle which is created
with DRM_IOCTL_MODE_CREATE_DUMB
(not support imported handle(DRM_IOCTL_PRIME_FD_TO_HANDLE)
 in other process)

vc4 backend mmap with the dma buf fd and O_RDWR flag is added
in DRM_IOCTL_PRIME_HANDLE_TO_FD

Change-Id: Ieafb1bfbbbdcd6e3911859a4ee8d8d99c61e7caf
src/tbm_backend_vc4.c