Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp91 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id) { in CreateFbId() argument
92 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, gem_handle); in CreateFbId()
103 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, *gem_handle); in CreateFbId()
112 gem_close.handle = *gem_handle; in CreateFbId()
125 int DRMMaster::RemoveFbId(uint32_t gem_handle, uint32_t fb_id) { in RemoveFbId() argument
127 gem_close.handle = gem_handle; in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id);
68 int RemoveFbId(uint32_t gem_handle, uint32_t fb_id);
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h250 unsigned int gem_handle; member
268 unaligned_height(height), gem_handle(0), fb_id(0) in private_handle_t()
Dgpu.cpp396 ret = master->CreateFbId(buf, &hnd->gem_handle, &hnd->fb_id); in gralloc_alloc_buffer()
616 ret = master->RemoveFbId(hnd->gem_handle, hnd->fb_id); in free_impl()