Searched refs:drmFd (Results 1 – 5 of 5) sorted by relevance
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/ |
D | hdi_drm_layer.cpp | 24 DrmGemBuffer::DrmGemBuffer(int drmFd, HdiLayerBuffer &hdl) : mDrmFd(drmFd) in DrmGemBuffer() argument 30 void DrmGemBuffer::Init(int drmFd, HdiLayerBuffer &hdl) in Init() argument 37 DISPLAY_CHK_RETURN_NOT_VALUE((drmFd < 0), DISPLAY_LOGE("can not init drmfd %{public}d", drmFd)); in Init() 39 ret = drmPrimeFDToHandle(drmFd, hdl.GetFb(), &mGemHandle); in Init() 45 …ret = drmModeAddFB2(drmFd, hdl.GetWidth(), hdl.GetHeight(), mDrmFormat, gemHandles, pitches, offse… in Init()
|
D | drm_connector.cpp | 218 int drmFd = mDrmFdPtr->GetFd(); in UpdateModes() local 219 drmModeConnectorPtr c = drmModeGetConnector(drmFd, mId); in UpdateModes() 284 int drmFd = DrmDevice::GetDrmFd(); in Init() local 285 DISPLAY_CHK_RETURN((drmFd < 0), DISPLAY_FAILURE, DISPLAY_LOGE("the drm fd is invalid")); in Init() 287 …int ret = drmModeCreatePropertyBlob(drmFd, static_cast<void *>(&modeInfo), sizeof(modeInfo), &mBlo… in Init() 296 int drmFd = DrmDevice::GetDrmFd(); in ~DrmModeBlock() local 297 if ((mBlockId != DRM_INVALID_ID) && (drmFd >= 0)) { in ~DrmModeBlock() 298 int ret = drmModeDestroyPropertyBlob(drmFd, mBlockId); in ~DrmModeBlock() 303 DISPLAY_LOGE("can not destruct the block id %{public}d drmFd %{public}d", mBlockId, drmFd); in ~DrmModeBlock()
|
D | hdi_drm_layer.h | 32 DrmGemBuffer(int drmFd, HdiLayerBuffer &hdl); 41 void Init(int drmFd, HdiLayerBuffer &hdl);
|
D | drm_device.cpp | 36 int drmFd = drmOpen(name.c_str(), nullptr); in Create() local 37 if (drmFd < 0) { in Create() 41 DISPLAY_LOGD("the drm fd is %{public}d", drmFd); in Create() 42 mDrmFd = std::make_shared<HdiFd>(drmFd); in Create()
|
D | hdi_drm_composition.cpp | 126 int drmFd = mDrmDevice->GetDrmFd(); in Apply() local 157 ret = drmModeAtomicCommit(drmFd, atomicReqPtr.Get(), flags, nullptr); in Apply()
|