map with the dmabuf fd 68/301268/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 13 Nov 2023 03:27:48 +0000 (12:27 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 13 Nov 2023 07:16:50 +0000 (16:16 +0900)
commit4e9c1344c9055682ba182d84b96c75e593a28269
tree5323ecda86ea871868a835d9a9075c8ac619083d
parent95112b0f09a94c78df3bea1f229a4c3dee4aadc5
map 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)

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

Change-Id: I8ebfaf575c0fbe99a61931e46db5506de249b93d
src/tbm_backend_dumb.c