Lines Matching refs:get
29 drmDropMaster(mFd.get()); in ~DrmClient()
46 auto version = drmGetVersion(fd.get()); in OpenVirtioGpuDrmFd()
72 int ret = drmSetClientCap(mFd.get(), DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in init()
78 ret = drmSetClientCap(mFd.get(), DRM_CLIENT_CAP_ATOMIC, 1); in init()
84 drmSetMaster(mFd.get()); in init()
86 if (!drmIsMaster(mFd.get())) { in init()
155 drmModePlaneResPtr drmPlaneResources = drmModeGetPlaneResources(mFd.get()); in loadDrmDisplays()
169 drmModeRes* drmResources = drmModeGetResources(mFd.get()); in loadDrmDisplays()
241 int ret = drmPrimeFDToHandle(mFd.get(), crosHandle->fds[0], &primeHandle); in create()
257 ret = drmModeAddFB2(mFd.get(), buffer->mWidth, buffer->mHeight, buffer->mDrmFormat, in create()
273 if (drmModeRmFB(mFd.get(), framebuffer)) { in destroyDrmFramebuffer()
283 if (drmIoctl(mFd.get(), DRM_IOCTL_GEM_CLOSE, &gem_close)) { in destroyDrmFramebuffer()