Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_qclient.cpp260 MDPVersion& mdpHw = MDPVersion::getInstance(); in configureDynRefreshRate() local
263 if(mdpHw.isDynFpsSupported()) { in configureDynRefreshRate()
281 if((rate >= mdpHw.getMinFpsSupported() && in configureDynRefreshRate()
282 rate <= mdpHw.getMaxFpsSupported())) { in configureDynRefreshRate()
287 mdpHw.getMinFpsSupported(), in configureDynRefreshRate()
288 mdpHw.getMaxFpsSupported(), rate); in configureDynRefreshRate()
Dhwc_ad.cpp136 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in markDoable() local
137 if(hnd && hnd->width <= (int) mdpHw.getMaxMixerWidth()) { in markDoable()
Dhwc_mdpcomp.cpp415 MDPVersion& mdpHw = MDPVersion::getInstance(); in isValidDimension() local
423 if(mdpHw.hasMinCropWidthLimitation() and (crop_w < 5 or crop_h < 5)) in isValidDimension()
427 const uint32_t maxMDPDownscale = mdpHw.getMaxMDPDownscale(); in isValidDimension()
433 if(!mdpHw.supportsDecimation()) { in isValidDimension()
437 if(crop_w > (int) mdpHw.getMaxMixerWidth() || in isValidDimension()
448 if(((crop_w > (int) mdpHw.getMaxMixerWidth()) && in isValidDimension()
464 const uint32_t upscale = mdpHw.getMaxMDPUpscale(); in isValidDimension()
780 MDPVersion& mdpHw = MDPVersion::getInstance(); in tryFullFrame() local
782 (priDispW > (int) mdpHw.getMaxMixerWidth()) && in tryFullFrame()
783 (ctx->dpyAttr[mDpy].xres < mdpHw.getMaxMixerWidth())) { in tryFullFrame()
[all …]
Dhwc_utils.cpp525 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in getRefreshRate() local
535 (float)mdpHw.getMaxFpsSupported()/ in getRefreshRate()
540 if(rate < mdpHw.getMinFpsSupported()) { in getRefreshRate()
542 } else if((rate >= mdpHw.getMinFpsSupported() && in getRefreshRate()
543 rate <= mdpHw.getMaxFpsSupported())) { in getRefreshRate()
1092 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in setListStats() local
1153 if (!dpy && mdpHw.isDynFpsSupported() && ctx->mUseMetaDataRefreshRate){ in setListStats()
2456 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in isDisplaySplit() local
2457 if(ctx->dpyAttr[dpy].xres > mdpHw.getMaxMixerWidth()) { in isDisplaySplit()
2461 if(dpy == HWC_DISPLAY_PRIMARY && mdpHw.getRightSplit()) { in isDisplaySplit()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_qclient.cpp277 MDPVersion& mdpHw = MDPVersion::getInstance(); in configureDynRefreshRate() local
280 if(mdpHw.isDynFpsSupported()) { in configureDynRefreshRate()
298 if((rate >= mdpHw.getMinFpsSupported() && in configureDynRefreshRate()
299 rate <= mdpHw.getMaxFpsSupported())) { in configureDynRefreshRate()
304 mdpHw.getMinFpsSupported(), in configureDynRefreshRate()
305 mdpHw.getMaxFpsSupported(), rate); in configureDynRefreshRate()
Dhwc_ad.cpp136 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in markDoable() local
137 if(hnd && hnd->width <= (int) mdpHw.getMaxPipeWidth()) { in markDoable()
Dhwc_mdpcomp.cpp419 MDPVersion& mdpHw = MDPVersion::getInstance(); in isValidDimension() local
427 if(mdpHw.hasMinCropWidthLimitation() and (crop_w < 5 or crop_h < 5)) in isValidDimension()
431 const uint32_t maxMDPDownscale = mdpHw.getMaxMDPDownscale(); in isValidDimension()
437 if(!mdpHw.supportsDecimation()) { in isValidDimension()
441 if(crop_w > (int) mdpHw.getMaxPipeWidth() || in isValidDimension()
452 if(((crop_w > (int) mdpHw.getMaxPipeWidth()) && in isValidDimension()
468 const uint32_t upscale = mdpHw.getMaxMDPUpscale(); in isValidDimension()
840 MDPVersion& mdpHw = MDPVersion::getInstance(); in tryFullFrame() local
842 if( mdpHw.is8x26() && (ctx->dpyAttr[mDpy].xres > 1024) && in tryFullFrame()
1972 MDPVersion& mdpHw = MDPVersion::getInstance(); in setDynRefreshRate() local
[all …]
Dhwc_utils.cpp1018 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in setListStats() local
1079 if (!dpy && mdpHw.isDynFpsSupported() && ctx->mUseMetaDataRefreshRate){ in setListStats()
1087 if((rate >= mdpHw.getMinFpsSupported() && in setListStats()
1088 rate <= mdpHw.getMaxFpsSupported())) { in setListStats()
2372 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in isDisplaySplit() local
2373 if(ctx->dpyAttr[dpy].xres > mdpHw.getMaxPipeWidth()) { in isDisplaySplit()
2377 if(dpy == HWC_DISPLAY_PRIMARY && mdpHw.getRightSplit()) { in isDisplaySplit()
2540 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in setBwc() local
2541 if(not mdpHw.supportsBWC()) { in setBwc()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp258 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in getDecimationFactor() local
266 horDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
267 verDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
275 if(src_w > (int) mdpHw.getMaxMixerWidth()) { in getDecimationFactor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp279 qdutils::MDPVersion& mdpHw = qdutils::MDPVersion::getInstance(); in getDecimationFactor() local
287 horDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
288 verDscale /= (float)mdpHw.getMaxMDPDownscale(); in getDecimationFactor()
296 if(src_w > (int) mdpHw.getMaxPipeWidth()) { in getDecimationFactor()