Home
last modified time | relevance | path

Searched refs:gem_handle (Results 1 – 3 of 3) sorted by relevance

/external/drm_gralloc/
Dgralloc_drm_rockchip.c44 uint32_t size, gem_handle; in drm_gem_rockchip_alloc() local
67 &gem_handle); in drm_gem_rockchip_alloc()
75 ALOGV("Got handle %d for fd %d\n", gem_handle, handle->prime_fd); in drm_gem_rockchip_alloc()
77 buf->bo = rockchip_bo_from_handle(info->rockchip, gem_handle, in drm_gem_rockchip_alloc()
81 gem_handle, size); in drm_gem_rockchip_alloc()
84 args.handle = gem_handle; in drm_gem_rockchip_alloc()
96 gem_handle = rockchip_bo_handle(buf->bo); in drm_gem_rockchip_alloc()
97 ret = drmPrimeHandleToFD(info->fd, gem_handle, 0, in drm_gem_rockchip_alloc()
99 ALOGV("Got fd %d for handle %d\n", handle->prime_fd, gem_handle); in drm_gem_rockchip_alloc()
105 buf->base.fb_handle = gem_handle; in drm_gem_rockchip_alloc()
/external/libdrm/intel/
Dintel_bufmgr_gem.c151 uint32_t gem_handle; member
391 DBG("%2d: %d (%s)\n", i, bo_gem->gem_handle, in drm_intel_gem_dump_validation_list()
404 bo_gem->gem_handle, bo_gem->name, in drm_intel_gem_dump_validation_list()
406 target_gem->gem_handle, in drm_intel_gem_dump_validation_list()
459 bufmgr_gem->exec_objects[index].handle = bo_gem->gem_handle; in drm_intel_add_validate_buffer()
501 bufmgr_gem->exec2_objects[index].handle = bo_gem->gem_handle; in drm_intel_add_validate_buffer2()
597 busy.handle = bo_gem->gem_handle; in drm_intel_gem_bo_busy()
616 madv.handle = bo_gem->gem_handle; in drm_intel_gem_bo_madvise_internal()
750 bo_gem->gem_handle = create.handle; in drm_intel_gem_bo_alloc_internal()
751 bo_gem->bo.handle = bo_gem->gem_handle; in drm_intel_gem_bo_alloc_internal()
[all …]
/external/drm_hwcomposer/
Ddrmgenericimporter.cpp99 uint32_t gem_handle; in ImportBuffer() local
100 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer()
111 bo->gem_handles[0] = gem_handle; in ImportBuffer()