• Home
  • Raw
  • Download

Lines Matching refs:drmReq

1358     DrmModeAtomicReq drmReq(this);  in setColorMode()  local
1360 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in setColorMode()
1364 if ((ret = drmReq.commit(0, true)) < 0) in setColorMode()
1396 DrmModeAtomicReq drmReq(this); in setActiveConfigWithConstraints() local
1414 mDesiredModeState.setMode(*mode, modeBlob, drmReq); in setActiveConfigWithConstraints()
1425 ret = setDisplayMode(drmReq, modeBlob ? modeBlob : mDesiredModeState.blob_id, in setActiveConfigWithConstraints()
1431 ret = drmReq.commit(DRM_MODE_ATOMIC_TEST_ONLY, true); in setActiveConfigWithConstraints()
1433 drmReq.addOldBlob(modeBlob); in setActiveConfigWithConstraints()
1463 DrmModeAtomicReq drmReq(this); in setActiveDrmMode() local
1472 if ((ret = setDisplayMode(drmReq, modeBlob, mode.id())) != NO_ERROR) { in setActiveDrmMode()
1473 drmReq.addOldBlob(modeBlob); in setActiveDrmMode()
1479 if ((ret = drmReq.commit(flags, true))) { in setActiveDrmMode()
1480 drmReq.addOldBlob(modeBlob); in setActiveDrmMode()
1487 mActiveModeState.setMode(mode, modeBlob, drmReq); in setActiveDrmMode()
1541 int32_t ExynosDisplayDrmInterface::setDisplayMode(DrmModeAtomicReq& drmReq, in setDisplayMode() argument
1546 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in setDisplayMode()
1550 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in setDisplayMode()
1554 if ((ret = drmReq.atomicAddProperty(mDrmConnector->id(), in setDisplayMode()
1559 drmReq.setAckCallback(std::bind(mXrrSettings.configChangeCallback, modeId)); in setDisplayMode()
1684 ExynosDisplayDrmInterface::DrmModeAtomicReq &drmReq, in setupCommitFromDisplayConfig() argument
1701 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1704 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1707 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1710 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1713 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1716 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1719 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1722 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1726 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1729 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1733 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1744 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1754 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1764 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1771 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1779 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1794 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1806 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1817 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1822 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1825 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig()
1844 drmReq.addOldBlob(mBlockState.mBlobId); in setupCommitFromDisplayConfig()
1849 if ((ret = drmReq.atomicAddProperty(plane->id(), plane->block_property(), in setupCommitFromDisplayConfig()
1860 int32_t ExynosDisplayDrmInterface::setupPartialRegion(DrmModeAtomicReq &drmReq) in setupPartialRegion() argument
1901 drmReq.addOldBlob(mPartialRegionState.blob_id); in setupPartialRegion()
1904 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in setupPartialRegion()
1926 int32_t ExynosDisplayDrmInterface::updateColorSettings(DrmModeAtomicReq &drmReq, uint64_t dqeEnable… in updateColorSettings() argument
1930 if ((ret = setDisplayColorSetting(drmReq)) != 0) { in updateColorSettings()
1950 if ((ret = setPlaneColorSetting(drmReq, plane, config, solidColor)) != 0) { in updateColorSettings()
1966 DrmModeAtomicReq drmReq(this); in deliverWinConfigData() local
1974 if ((ret == NO_ERROR) && !drmReq.getError()) { in deliverWinConfigData()
1986 if ((ret = setupWritebackCommit(drmReq)) < 0) { in deliverWinConfigData()
1994 if ((ret = clearWritebackCommit(drmReq)) < 0) { in deliverWinConfigData()
2010 if ((ret = setDisplayMode(drmReq, mDesiredModeState.blob_id, mDesiredModeState.mode.id())) < in deliverWinConfigData()
2018 if ((ret = setupPartialRegion(drmReq)) != NO_ERROR) in deliverWinConfigData()
2022 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in deliverWinConfigData()
2039 ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in deliverWinConfigData()
2047 if ((ret = updateColorSettings(drmReq, dqeEnable)) != 0) { in deliverWinConfigData()
2070 if ((ret = setupCommitFromDisplayConfig(drmReq, config, i, plane, fbId)) < 0) { in deliverWinConfigData()
2089 if ((ret = setupCommitFromDisplayConfig(drmReq, config, i, plane, fbId)) < 0) { in deliverWinConfigData()
2116 if ((ret = drmReq.atomicAddProperty(plane->id(), in deliverWinConfigData()
2120 if ((ret = drmReq.atomicAddProperty(plane->id(), in deliverWinConfigData()
2135 *mDrmConnector, drmReq, in deliverWinConfigData()
2167 if (dqeEnable && (ret = setDisplayHistogramSetting(drmReq)) != 0) { in deliverWinConfigData()
2173 mExynosDisplay->mHistogramController->prepareAtomicCommit(drmReq); in deliverWinConfigData()
2181 if ((ret = drmReq.atomicAddProperty(mDrmConnector->id(), in deliverWinConfigData()
2210 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in deliverWinConfigData()
2220 if ((ret = drmReq.commit(flags, true)) < 0) { in deliverWinConfigData()
2241 mDesiredModeState.apply(mActiveModeState, drmReq); in deliverWinConfigData()
2259 int32_t ExynosDisplayDrmInterface::clearDisplayMode(DrmModeAtomicReq &drmReq) in clearDisplayMode() argument
2263 if ((ret = drmReq.atomicAddProperty(mDrmConnector->id(), in clearDisplayMode()
2267 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in clearDisplayMode()
2271 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), in clearDisplayMode()
2281 DrmModeAtomicReq drmReq(this); in triggerClearDisplayPlanes() local
2283 clearDisplayPlanes(drmReq); in triggerClearDisplayPlanes()
2285 if ((ret = drmReq.commit(0, true))) { in triggerClearDisplayPlanes()
2297 int32_t ExynosDisplayDrmInterface::clearDisplayPlanes(DrmModeAtomicReq &drmReq) in clearDisplayPlanes() argument
2315 if ((ret = drmReq.atomicAddProperty(plane->id(), in clearDisplayPlanes()
2320 if ((ret = drmReq.atomicAddProperty(plane->id(), in clearDisplayPlanes()
2339 DrmModeAtomicReq drmReq(this); in clearDisplay() local
2341 ret = clearDisplayPlanes(drmReq); in clearDisplay()
2351 if ((ret = clearWritebackCommit(drmReq)) < 0) { in clearDisplay()
2359 if ((ret = clearDisplayMode(drmReq)) < 0) { in clearDisplay()
2365 ret = drmReq.commit(DRM_MODE_ATOMIC_ALLOW_MODESET, true); in clearDisplay()
2376 if ((ret = clearDisplayMode(drmReq)) < 0) { in clearDisplay()
2381 ret = drmReq.commit(DRM_MODE_ATOMIC_ALLOW_MODESET | DRM_MODE_ATOMIC_NONBLOCK, true); in clearDisplay()
2630 int32_t ExynosDisplayDrmInterface::setupWritebackCommit(DrmModeAtomicReq &drmReq) in setupWritebackCommit() argument
2662 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in setupWritebackCommit()
2667 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in setupWritebackCommit()
2672 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in setupWritebackCommit()
2682 int32_t ExynosDisplayDrmInterface::clearWritebackCommit(DrmModeAtomicReq &drmReq) in clearWritebackCommit() argument
2692 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in clearWritebackCommit()
2696 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in clearWritebackCommit()
2700 if ((ret = drmReq.atomicAddProperty(writeback_conn->id(), in clearWritebackCommit()
2918 ExynosDisplayDrmInterface::DrmModeAtomicReq& drmReq, uint8_t channelId, uint32_t blobId) { in setHistogramChannelConfigBlob() argument
2929 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), prop, blobId)) < 0) { in setHistogramChannelConfigBlob()
2939 ExynosDisplayDrmInterface::DrmModeAtomicReq& drmReq, uint8_t channelId) { in clearHistogramChannelConfigBlob() argument
2950 if ((ret = drmReq.atomicAddProperty(mDrmCrtc->id(), prop, 0)) < 0) { in clearHistogramChannelConfigBlob()