Home
last modified time | relevance | path

Searched refs:mGemHandle (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/host/magma/
DDrmBuffer.cpp32 mGemHandle(other.mGemHandle), in DrmBuffer()
37 other.mGemHandle = 0; in DrmBuffer()
41 if (mGemHandle == 0) { in ~DrmBuffer()
48 drm_gem_close params{.handle = mGemHandle}; in ~DrmBuffer()
51 ERR("DRM_IOCTL_GEM_CLOSE(%d) failed: %d", mGemHandle, errno); in ~DrmBuffer()
69 buffer->mGemHandle = create_params.handle; in create()
71 INFO("Created DrmBuffer size %" PRIu64 " gem %" PRIu32, buffer->mSize, buffer->mGemHandle); in create()
76 uint32_t DrmBuffer::getHandle() { return mGemHandle; } in getHandle()
86 drm_i915_gem_mmap mmap_params{.handle = mGemHandle, .size = mSize}; in map()
101 mGemHandle, mHva, mId); in map()
DDrmBuffer.h59 uint32_t mGemHandle; variable