Lines Matching refs:mDisplays

149         mDisplays.add(exynos_display);  in ExynosDevice()
169 for (auto it : mDisplays) { in ExynosDevice()
188 mResourceManager->initDisplays(mDisplays, mDisplayMap); in ExynosDevice()
195 for (size_t i = 0; i < mDisplays.size(); i++) { in ExynosDevice()
196 if (mDisplays[i]->mType == HWC_DISPLAY_PRIMARY) { in ExynosDevice()
200 PixelDisplayInit(mDisplays[i], iter->second); in ExynosDevice()
202 mDisplays[i]->initLbe(); in ExynosDevice()
221 for (uint32_t i = 0; i < mDisplays.size();) { in initDeviceInterface()
222 ExynosDisplay* display = mDisplays[i]; in initDeviceInterface()
226 mDisplays.removeAt(i); in initDeviceInterface()
244 for(auto& display : mDisplays) { in ~ExynosDevice()
247 mDisplays.clear(); in ~ExynosDevice()
252 for (uint32_t i = 0; i < mDisplays.size(); i++) { in isFirstValidate()
253 if ((mDisplays[i]->mType != HWC_DISPLAY_VIRTUAL) && in isFirstValidate()
254 (!mDisplays[i]->mPowerModeState.has_value() || in isFirstValidate()
255 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isFirstValidate()
257 if ((mDisplays[i]->mPlugState == true) && in isFirstValidate()
258 ((mDisplays[i]->mRenderingState != RENDERING_STATE_NONE) && in isFirstValidate()
259 (mDisplays[i]->mRenderingState != RENDERING_STATE_PRESENTED))) in isFirstValidate()
268 for (uint32_t i = 0; i < mDisplays.size(); i++) { in isLastValidate()
269 if (mDisplays[i] == display) in isLastValidate()
271 if ((mDisplays[i]->mType != HWC_DISPLAY_VIRTUAL) && in isLastValidate()
272 (!mDisplays[i]->mPowerModeState.has_value() || in isLastValidate()
273 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isLastValidate()
275 if ((mDisplays[i]->mPlugState == true) && in isLastValidate()
276 (mDisplays[i]->mRenderingState != RENDERING_STATE_VALIDATED) && in isLastValidate()
277 (mDisplays[i]->mRenderingState != RENDERING_STATE_ACCEPTED_CHANGE)) in isLastValidate()
284 for (uint32_t i = 0; i < mDisplays.size(); i++) { in hasOtherDisplayOn()
285 if (mDisplays[i] == display) continue; in hasOtherDisplayOn()
286 if ((mDisplays[i]->mType != HWC_DISPLAY_VIRTUAL) && in hasOtherDisplayOn()
287 mDisplays[i]->mPowerModeState.has_value() && in hasOtherDisplayOn()
288 (mDisplays[i]->mPowerModeState.value() != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in hasOtherDisplayOn()
305 for (uint32_t i = 0; i < mDisplays.size(); i++) { in checkDynamicRecompositionThread()
306 if (mDisplays[i]->mDREnable) { in checkDynamicRecompositionThread()
313 for (uint32_t i = 0; i < mDisplays.size(); i++) { in checkDynamicRecompositionThread()
314 if (mDisplays[i]->mDREnable) in checkDynamicRecompositionThread()
336 ExynosDisplay *display[dev->mDisplays.size()]; in dynamicRecompositionThreadLoop()
337 uint64_t event_cnt[dev->mDisplays.size()]; in dynamicRecompositionThreadLoop()
339 for (uint32_t i = 0; i < dev->mDisplays.size(); i++) { in dynamicRecompositionThreadLoop()
340 display[i] = dev->mDisplays[i]; in dynamicRecompositionThreadLoop()
346 for (uint32_t i = 0; i < dev->mDisplays.size(); i++) in dynamicRecompositionThreadLoop()
360 for (uint32_t i = 0; i < dev->mDisplays.size(); i++) { in dynamicRecompositionThreadLoop()
458 for (size_t i = 0;i < mDisplays.size(); i++) { in dump()
459 ExynosDisplay *display = mDisplays[i]; in dump()
488 for (auto it : mDisplays) { in registerCallback()
495 for (auto it : mDisplays) { in registerCallback()
540 for (auto disp : mDisplays) { in findPoweredOffPrimaryDisplay()
637 for (auto& display : mDisplays) { in onRefreshDisplays()
845 for (uint32_t i = 0; i < mDisplays.size(); i++) { in setHWCControl()
846 mDisplays[i]->setDDIScalerEnable(width, height); in setHWCControl()
863 for (uint32_t i = 0; i < mDisplays.size(); i++) { in setHWCControl()
864 mDisplays[i]->setHWCControl(ctrl, val); in setHWCControl()
921 for (uint32_t i = 0; i < mDisplays.size(); i++) { in checkNonInternalConnection()
922 switch(mDisplays[i]->mType) { in checkNonInternalConnection()
927 if (mDisplays[i]->mPlugState) in checkNonInternalConnection()
1001 for (uint32_t i = 0; i < mDisplays.size(); i++) { in canSkipValidate()
1009 if (mDisplays[i]->mPlugState && mDisplays[i]->mPowerModeState.has_value() && in canSkipValidate()
1010 mDisplays[i]->mPowerModeState.value() != HWC2_POWER_MODE_OFF) { in canSkipValidate()
1015 mDisplays[i]->doPreProcessing(); in canSkipValidate()
1016 mDisplays[i]->checkLayerFps(); in canSkipValidate()
1018 if ((ret = mDisplays[i]->canSkipValidate()) != NO_ERROR) { in canSkipValidate()
1022 mDisplays[i]->mDisplayId, ret, mDisplays[i]->mRenderingState, in canSkipValidate()
1027 mDisplays[i]->mDisplayId, ret, in canSkipValidate()
1028 mDisplays[i]->mRenderingState, mGeometryChanged); in canSkipValidate()
1218 for (size_t i = 0; i < mDisplays.size(); i++) { in setDisplayDeviceMode()
1219 if (mDisplays[i]->mType == HWC_DISPLAY_PRIMARY && mDisplays[i]->mDisplayId == display_id) { in setDisplayDeviceMode()
1222 ret = mDisplays[i]->setPowerMode(mode); in setDisplayDeviceMode()
1254 return mDisplays[display_id]->SetCurrentPanelGammaSource(static_cast<DisplayType>(type), in setPanelGammaTableSource()
1333 for (size_t i = 0; i < mDisplays.size(); i++) { in handleHotplug()
1334 if (mDisplays[i] == nullptr) { in handleHotplug()
1342 Mutex::Autolock lock(mDisplays[i]->mDisplayMutex); in handleHotplug()
1344 if (mDisplays[i]->checkHotplugEventUpdated(hpdStatus)) { in handleHotplug()
1345 mDisplays[i]->handleHotplugEvent(hpdStatus); in handleHotplug()
1346 mDisplays[i]->hotplug(); in handleHotplug()
1347 mDisplays[i]->invalidate(); in handleHotplug()