Home
last modified time | relevance | path

Searched refs:prime_fds (Results 1 – 10 of 10) sorted by relevance

/external/drm_hwcomposer/bufferinfo/
DBufferInfoMapperMetadata.cpp54 bo->prime_fds[0] = handle->data[0]; in GetFds()
56 bo->prime_fds[0] = bo->prime_fds[1] = bo->prime_fds[2] = handle->data[0]; in GetFds()
58 if (bo->prime_fds[0] <= 0) { in GetFds()
59 ALOGE("Encountered invalid fd %d", bo->prime_fds[0]); in GetFds()
64 bo->prime_fds[0] = handle->data[0]; in GetFds()
65 bo->prime_fds[1] = handle->data[1]; in GetFds()
66 bo->prime_fds[2] = handle->data[2]; in GetFds()
68 if (bo->prime_fds[i] <= 0) { in GetFds()
69 ALOGE("Encountered invalid fd %d", bo->prime_fds[i]); in GetFds()
DBufferInfoGetter.cpp59 if (bo.prime_fds[0] == 0) in IsHandleUsable()
/external/drm_hwcomposer/drm/
DDrmGenericImporter.cpp44 int ret = drmPrimeFDToHandle(drm_->fd(), bo->prime_fds[0], in ImportBuffer()
47 ALOGE("failed to import prime fd %d ret=%d", bo->prime_fds[0], ret); in ImportBuffer()
52 int fd = bo->prime_fds[i]; in ImportBuffer()
54 if (fd != bo->prime_fds[0]) { in ImportBuffer()
/external/drm_hwcomposer/bufferinfo/legacy/
DBufferInfoLibdrm.cpp146 bo->prime_fds[2] = bo->prime_fds[1] = bo->prime_fds[0]; in GetYuvPlaneInfo()
179 bo->prime_fds[0] = gr_handle->prime_fd; in ConvertBoInfo()
DBufferInfoMaliHisi.cpp95 bo->prime_fds[0] = hnd->share_fd; in ConvertBoInfo()
110 bo->prime_fds[1] = hnd->share_fd; in ConvertBoInfo()
114 bo->prime_fds[2] = hnd->share_fd; in ConvertBoInfo()
DBufferInfoMinigbm.cpp41 bo->prime_fds[0] = gr_handle->fds[0]; in ConvertBoInfo()
DBufferInfoMaliMediatek.cpp51 bo->prime_fds[0] = hnd->share_fd; in ConvertBoInfo()
DBufferInfoImagination.cpp45 bo->prime_fds[0] = hnd->fd[0]; in ConvertBoInfo()
DBufferInfoMaliMeson.cpp86 bo->prime_fds[0] = hnd->share_fd; in ConvertBoInfo()
/external/drm_hwcomposer/include/
Ddrmhwcgralloc.h31 uint32_t prime_fds[HWC_DRM_BO_MAX_PLANES]; member