Home
last modified time | relevance | path

Searched refs:IDisplayDevice (Results 1 – 25 of 43) sorted by relevance

12

/hardware/intel/img/hwcomposer/merrifield/common/base/
DVsyncManager.cpp34 mVsyncSource(IDisplayDevice::DEVICE_COUNT), in VsyncManager()
48 mVsyncSource = IDisplayDevice::DEVICE_COUNT; in initialize()
60 mVsyncSource = IDisplayDevice::DEVICE_COUNT; in deinitialize()
70 if (disp != IDisplayDevice::DEVICE_PRIMARY) { in handleVsyncControl()
142 IDisplayDevice* VsyncManager::getDisplayDevice(int dispType ) { in getDisplayDevice()
149 return IDisplayDevice::DEVICE_PRIMARY; in getCandidate()
152 IDisplayDevice *device = NULL; in getCandidate()
154 device = getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL); in getCandidate()
156 return IDisplayDevice::DEVICE_EXTERNAL; in getCandidate()
161 device = getDisplayDevice(IDisplayDevice::DEVICE_VIRTUAL); in getCandidate()
[all …]
DHwcomposer.cpp41 mDisplayDevices.setCapacity(IDisplayDevice::DEVICE_COUNT); in Hwcomposer()
79 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare()
84 if (device->getType() != IDisplayDevice::DEVICE_PRIMARY) in prepare()
91 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare()
97 if (device->getType() != IDisplayDevice::DEVICE_PRIMARY) in prepare()
129 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit()
140 if (device->getType() != IDisplayDevice::DEVICE_PRIMARY) in commit()
159 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in setPowerMode()
169 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in setPowerMode()
182 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in getActiveConfig()
[all …]
DDisplayAnalyzer.cpp136 …ExternalDevice *eDev = static_cast<ExternalDevice *>(hwc->getDisplayDevice(IDisplayDevice::DEVICE_… in checkVideoExtMode()
137 …VirtualDevice *vDev = static_cast<VirtualDevice *>(hwc->getDisplayDevice(IDisplayDevice::DEVICE_… in checkVideoExtMode()
269 IDisplayDevice *displayDevice = Hwcomposer::getInstance().getDisplayDevice(device); in isVideoFullScreen()
444 dev = (ExternalDevice *)hwc->getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL); in handleHotplugEvent()
480 if (i == IDisplayDevice::DEVICE_PRIMARY) { in handleBlankEvent()
497 dev = (ExternalDevice *)hwc->getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL); in handleTimingEvent()
589 if (i == IDisplayDevice::DEVICE_PRIMARY) { in blankSecondaryDevice()
649 IDisplayDevice::DEVICE_PRIMARY) { in handleDpmsEvent()
651 IDisplayDevice::DEVICE_PRIMARY, in handleDpmsEvent()
652 IDisplayDevice::DEVICE_DISPLAY_STANDBY); in handleDpmsEvent()
[all …]
DDrm.cpp251 if (device != IDisplayDevice::DEVICE_EXTERNAL) { in setDrmMode()
295 if (device != IDisplayDevice::DEVICE_EXTERNAL) { in setRefreshRate()
480 if (mode != IDisplayDevice::DEVICE_DISPLAY_OFF && in setDpmsMode()
481 mode != IDisplayDevice::DEVICE_DISPLAY_STANDBY && in setDpmsMode()
482 mode != IDisplayDevice::DEVICE_DISPLAY_ON) { in setDpmsMode()
505 (mode == IDisplayDevice::DEVICE_DISPLAY_ON) ? DRM_MODE_DPMS_ON : in setDpmsMode()
506 IDisplayDevice::DEVICE_DISPLAY_STANDBY == mode ? in setDpmsMode()
656 case IDisplayDevice::DEVICE_PRIMARY: in getOutputIndex()
658 case IDisplayDevice::DEVICE_EXTERNAL: in getOutputIndex()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcomposer.cpp38 mDisplayDevices.setCapacity(IDisplayDevice::DEVICE_COUNT); in Hwcomposer()
76 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare()
88 IDisplayDevice *device = mDisplayDevices.itemAt(i); in prepare()
122 IDisplayDevice *device = mDisplayDevices.itemAt(i); in commit()
150 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in vsyncControl()
157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in vsyncControl()
171 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in blank()
178 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in blank()
193 if (disp < 0 || disp >= IDisplayDevice::DEVICE_COUNT) { in getDisplayConfigs()
200 IDisplayDevice *device = mDisplayDevices.itemAt(disp); in getDisplayConfigs()
[all …]
DDrm.cpp255 if (device != IDisplayDevice::DEVICE_EXTERNAL) { in setDrmMode()
299 if (device != IDisplayDevice::DEVICE_EXTERNAL) { in setRefreshRate()
517 if (mode != IDisplayDevice::DEVICE_DISPLAY_OFF && in setDpmsMode()
518 mode != IDisplayDevice::DEVICE_DISPLAY_STANDBY && in setDpmsMode()
519 mode != IDisplayDevice::DEVICE_DISPLAY_ON) { in setDpmsMode()
542 (mode == IDisplayDevice::DEVICE_DISPLAY_ON) ? DRM_MODE_DPMS_ON : in setDpmsMode()
543 IDisplayDevice::DEVICE_DISPLAY_STANDBY == mode ? in setDpmsMode()
691 case IDisplayDevice::DEVICE_PRIMARY: in getOutputIndex()
693 case IDisplayDevice::DEVICE_EXTERNAL: in getOutputIndex()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DDrmConfig.cpp32 if (device == IDisplayDevice::DEVICE_PRIMARY) in getDrmConnector()
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL) in getDrmConnector()
41 if (device == IDisplayDevice::DEVICE_PRIMARY) in getDrmEncoder()
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL) in getDrmEncoder()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DDrmConfig.cpp32 if (device == IDisplayDevice::DEVICE_PRIMARY) in getDrmConnector()
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL) in getDrmConnector()
41 if (device == IDisplayDevice::DEVICE_PRIMARY) in getDrmEncoder()
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL) in getDrmEncoder()
/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/
DPlatfHwcomposer.cpp54 IDisplayDevice* PlatfHwcomposer::createDisplayDevice(int disp, in createDisplayDevice()
60 case IDisplayDevice::DEVICE_PRIMARY: in createDisplayDevice()
67 case IDisplayDevice::DEVICE_EXTERNAL: in createDisplayDevice()
74 case IDisplayDevice::DEVICE_VIRTUAL: in createDisplayDevice()
DPlatfHwcomposer.h33 IDisplayDevice* createDisplayDevice(int disp, DisplayPlaneManager& dpm);
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/
DPlatFactory.cpp59 IDisplayDevice* PlatFactory::createDisplayDevice(int disp) in createDisplayDevice()
73 case IDisplayDevice::DEVICE_PRIMARY: in createDisplayDevice()
75 case IDisplayDevice::DEVICE_EXTERNAL: in createDisplayDevice()
77 case IDisplayDevice::DEVICE_VIRTUAL: in createDisplayDevice()
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/
DPlatFactory.cpp60 IDisplayDevice* PlatFactory::createDisplayDevice(int disp) in createDisplayDevice()
73 case IDisplayDevice::DEVICE_PRIMARY: in createDisplayDevice()
75 case IDisplayDevice::DEVICE_EXTERNAL: in createDisplayDevice()
77 case IDisplayDevice::DEVICE_VIRTUAL: in createDisplayDevice()
DPlatFactory.h33 virtual IDisplayDevice* createDisplayDevice(int disp);
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DSoftVsyncObserver.h24 class IDisplayDevice; variable
28 SoftVsyncObserver(IDisplayDevice& disp);
38 IDisplayDevice& mDisplayDevice;
DSoftVsyncObserver.cpp28 SoftVsyncObserver::SoftVsyncObserver(IDisplayDevice& disp) in SoftVsyncObserver()
30 mDevice(IDisplayDevice::DEVICE_COUNT), in SoftVsyncObserver()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DSoftVsyncObserver.h24 class IDisplayDevice; variable
28 SoftVsyncObserver(IDisplayDevice& disp);
38 IDisplayDevice& mDisplayDevice;
DSoftVsyncObserver.cpp24 SoftVsyncObserver::SoftVsyncObserver(IDisplayDevice& disp) in SoftVsyncObserver()
26 mDevice(IDisplayDevice::DEVICE_COUNT), in SoftVsyncObserver()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DIDisplayDevice.h52 class IDisplayDevice {
71 IDisplayDevice() {} in IDisplayDevice() function
72 virtual ~IDisplayDevice() {} in ~IDisplayDevice()
DHwcomposer.h78 IDisplayDevice* getDisplayDevice(int disp);
102 virtual IDisplayDevice* createDisplayDevice(int disp,
112 Vector<IDisplayDevice*> mDisplayDevices;
/hardware/intel/img/hwcomposer/merrifield/include/
DIDisplayDevice.h52 class IDisplayDevice {
71 IDisplayDevice() {} in IDisplayDevice() function
72 virtual ~IDisplayDevice() {} in ~IDisplayDevice()
DHwcomposer.h85 IDisplayDevice* getDisplayDevice(int disp);
124 Vector<IDisplayDevice*> mDisplayDevices;
DIPlatFactory.h38 virtual IDisplayDevice* createDisplayDevice(int disp) = 0;
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnPlaneManager.cpp178 if (dsp == IDisplayDevice::DEVICE_PRIMARY) { in isValidZOrder()
206 } else if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in isValidZOrder()
227 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in assignPlanes()
243 if (dsp == IDisplayDevice::DEVICE_PRIMARY) in assignPlanes()
250 if (dsp == IDisplayDevice::DEVICE_PRIMARY) in assignPlanes()
400 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()
408 if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnPlaneManager.cpp213 if (dsp == IDisplayDevice::DEVICE_PRIMARY) { in isValidZOrder()
241 } else if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in isValidZOrder()
262 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in assignPlanes()
279 if (dsp == IDisplayDevice::DEVICE_PRIMARY) { in assignPlanes()
437 if (dsp < 0 || dsp > IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()
445 if (dsp == IDisplayDevice::DEVICE_EXTERNAL) { in getFreePlanes()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DExternalDevice.cpp261 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in getRefreshRate()
279 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in setRefreshRate()
301 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz); in setRefreshRate()

12