Home
last modified time | relevance | path

Searched refs:mDrmDevice (Results 1 – 10 of 10) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp76 mDrmDevice->event_listener()->UnRegisterPropertyUpdateHandler( in ~ExynosDeviceDrmInterface()
78 mDrmDevice->event_listener()->UnRegisterHotplugHandler( in ~ExynosDeviceDrmInterface()
80 mDrmDevice->event_listener()->UnRegisterHistogramHandler( in ~ExynosDeviceDrmInterface()
82 mDrmDevice->event_listener()->UnRegisterHistogramChannelHandler( in ~ExynosDeviceDrmInterface()
84 mDrmDevice->event_listener()->UnRegisterContextHistogramHandler( in ~ExynosDeviceDrmInterface()
86 mDrmDevice->event_listener()->UnRegisterTUIHandler( in ~ExynosDeviceDrmInterface()
88 mDrmDevice->event_listener()->UnRegisterPanelIdleHandler( in ~ExynosDeviceDrmInterface()
96 mDrmDevice = mDrmResourceManager.GetDrmDevice(HWC_DISPLAY_PRIMARY); in init()
97 assert(mDrmDevice != NULL); in init()
102 mExynosDrmEventHandler->init(mExynosDevice, mDrmDevice); in init()
[all …]
DExynosDisplayDrmInterface.cpp526 mDrmDevice->DestroyPropertyBlob(mActiveModeState.blob_id); in ~ExynosDisplayDrmInterface()
528 mDrmDevice->DestroyPropertyBlob(mActiveModeState.old_blob_id); in ~ExynosDisplayDrmInterface()
530 mDrmDevice->DestroyPropertyBlob(mDesiredModeState.blob_id); in ~ExynosDisplayDrmInterface()
532 mDrmDevice->DestroyPropertyBlob(mDesiredModeState.old_blob_id); in ~ExynosDisplayDrmInterface()
534 mDrmDevice->DestroyPropertyBlob(mPartialRegionState.blob_id); in ~ExynosDisplayDrmInterface()
541 mDrmDevice = NULL; in init()
710 for (auto &conn: mDrmDevice->connectors()) { in getDrmDisplayId()
725 if ((mDrmDevice = drmDevice) == NULL) { in initDrmDevice()
730 mFBManager.init(mDrmDevice->fd()); in initDrmDevice()
739 mReadbackInfo.init(mDrmDevice, drmDisplayId); in initDrmDevice()
[all …]
DExynosDeviceDrmInterface.h59 DrmDevice *mDrmDevice; variable
62 DrmDevice *mDrmDevice; variable
DExynosDisplayDrmInterface.h254 int ret = mDrmDisplayInterface->mDrmDevice->DestroyPropertyBlob(blob); in destroyOldBlobs()
277 int drmFd() const { return mDrmDisplayInterface->mDrmDevice->fd(); } in drmFd()
336 virtual int getDisplayFd() { return mDrmDevice->fd(); }; in getDisplayFd()
571 if (mDrmDevice == NULL) in ~DrmReadbackInfo()
574 drmModeRmFB(mDrmDevice->fd(), mOldFbId); in ~DrmReadbackInfo()
576 drmModeRmFB(mDrmDevice->fd(), mFbId); in ~DrmReadbackInfo()
580 if ((mDrmDevice != NULL) && (mOldFbId > 0)) in setFbId()
581 drmModeRmFB(mDrmDevice->fd(), mOldFbId); in setFbId()
591 DrmDevice *mDrmDevice = NULL;
597 DrmDevice *mDrmDevice; variable
/hardware/google/graphics/gs101/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp72 mDrmDevice->DestroyPropertyBlob(blob); in destroyOldBlobs()
98 ret = gs::ColorDrmBlobFactory::cgc(dqe.Cgc().config, mDrmDevice, blobId); in setDisplayColorBlob()
107 mDrmDevice, blobId); in setDisplayColorBlob()
117 mDrmDevice, blobId); in setDisplayColorBlob()
121 ret = gs::ColorDrmBlobFactory::gammaMatrix(dqe.GammaMatrix().config, mDrmDevice, in setDisplayColorBlob()
125 ret = gs::ColorDrmBlobFactory::linearMatrix(dqe.LinearMatrix().config, mDrmDevice, in setDisplayColorBlob()
129 ret = gs::ColorDrmBlobFactory::displayDither(dqe.DqeControl().config, mDrmDevice, in setDisplayColorBlob()
133 … ret = gs::ColorDrmBlobFactory::cgcDither(dqe.DqeControl().config, mDrmDevice, blobId); in setDisplayColorBlob()
274 ret = gs::ColorDrmBlobFactory::eotf(dpp.EotfLut().config, mDrmDevice, blobId); in setPlaneColorBlob()
277 ret = gs::ColorDrmBlobFactory::gm(dpp.Gm().config, mDrmDevice, blobId); in setPlaneColorBlob()
[all …]
DExynosDisplayDrmInterfaceModule.h70 mDrmDevice = drmDevice; in init()
78 DrmDevice *mDrmDevice = NULL;
134 mOldDppBlobs.emplace_back(mDrmDevice, planes[ix]->id()); in initOldDppBlobs()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Dvsyncworker.cpp44 mDrmDevice(NULL), in VSyncWorker()
54 mDrmDevice = drm; in Init()
117 DrmConnector *conn = mDrmDevice->GetConnectorForDisplay(mDisplay); in SyntheticWaitVBlank()
165 DrmCrtc *crtc = mDrmDevice->GetCrtcForDisplay(display); in Routine()
179 ret = drmWaitVBlank(mDrmDevice->fd(), &vblank); in Routine()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Dvsyncworker.h55 DrmDevice* mDrmDevice; variable
/hardware/google/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.cpp83 mDrmDevice = &device; in initDrm()
1215 std::make_shared<PropertyBlob>(mDrmDevice, drmConfig.get(), drmConfigLength); in createDrmConfigBlob()
1313 if (blobId && mDrmDevice) { in dumpChannel()
1314 if ((blob = drmModeGetPropertyBlob(mDrmDevice->fd(), blobId)) == nullptr) { in dumpChannel()
1555 : mDrmDevice(drmDevice) { in PropertyBlob()
1556 if (!mDrmDevice) { in PropertyBlob()
1562 if ((mError = mDrmDevice->CreatePropertyBlob(blobData, blobLength, &mBlobId))) { in PropertyBlob()
1574 int ret = mDrmDevice->DestroyPropertyBlob(mBlobId); in ~PropertyBlob()
DHistogramDevice.h384 DrmDevice* mDrmDevice = nullptr; variable
858 DrmDevice* const mDrmDevice;