Lines Matching refs:mAssignedDisplay
152 mAssignedDisplay(NULL), in ExynosMPP()
863 fence_close(freeBuffer.acrylicAcquireFenceFd, mExynosMPP->mAssignedDisplay, in freeBuffers()
870 fence_close(freeBuffer.acrylicReleaseFenceFd, mExynosMPP->mAssignedDisplay, in freeBuffers()
897 fence = fence_close(fence, mExynosMPP->mAssignedDisplay, in checkStateFences()
977 if (mAssignedDisplay != NULL) { in allocOutBuf()
979 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in allocOutBuf()
981 mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); in allocOutBuf()
1086 if (mAssignedDisplay != NULL) { in needDstBufRealloc()
1087 assignedDisplayType = mAssignedDisplay->mType; in needDstBufRealloc()
1111 (prevAssignedDisplay != mAssignedDisplay) || in needDstBufRealloc()
1126 if ((mAssignedDisplay && !mAssignedDisplay->mDisplayControl.skipM2mProcessing) || in canUsePrevFrame()
1249 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D, src.acquireFenceFd); in setupLayer()
1272 setFenceInfo(srcImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, in setupLayer()
1276 setFenceInfo(srcImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, in setupLayer()
1294 if ((mAssignedDisplay != NULL) && in setupLayer()
1295 ((mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL) || in setupLayer()
1296 (mAssignedDisplay->mType == HWC_DISPLAY_EXTERNAL))) in setupLayer()
1327 metaInfo.minLuminance = (uint16_t)(mAssignedDisplay->mMinLuminance * 10000); in getDstMetaInfo()
1328 metaInfo.maxLuminance = (uint16_t)mAssignedDisplay->mMaxLuminance; in getDstMetaInfo()
1365 if ((mAssignedDisplay != NULL) && in setupDst()
1366 (mAssignedDisplay->mColorMode != HAL_COLOR_MODE_NATIVE)) in setupDst()
1367 dataspace = colorModeToDataspace(mAssignedDisplay->mColorMode); in setupDst()
1398 dstImgInfo->assignedDisplay = mAssignedDisplay; in setupDst()
1399 if (mAssignedDisplay != NULL) { in setupDst()
1400 mAcrylicHandle->setCanvasDimension(pixel_align(mAssignedDisplay->mXres, in setupDst()
1402 pixel_align(mAssignedDisplay->mYres, in setupDst()
1414 setFenceInfo(dstImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, in setupDst()
1419 setFenceInfo(dstImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, in setupDst()
1428 (mAssignedDisplay != NULL) && in setupDst()
1429 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL) && in setupDst()
1430 (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState == (int)LLWFD)) { in setupDst()
1433 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in setupDst()
1440 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_G2D, dstImgInfo->acrylicAcqu… in setupDst()
1446 if ((mAssignedDisplay != NULL) && in setupDst()
1447 (mAssignedDisplay->mType != HWC_DISPLAY_VIRTUAL)) { in setupDst()
1559 setFenceInfo(releaseFences[dstBufIdx], mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, in doPostProcessingInternal()
1564 setFenceInfo(releaseFences[i], mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, in doPostProcessingInternal()
1569 setFenceInfo(releaseFences[dstBufIdx], mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, in doPostProcessingInternal()
1574 setFenceInfo(releaseFences[i], mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, in doPostProcessingInternal()
1583 (mAssignedDisplay != NULL) && in doPostProcessingInternal()
1584 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL)) { in doPostProcessingInternal()
1585 if (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState == (int)LLWFD) { in doPostProcessingInternal()
1588 … mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); // Close dst buf's fence in doPostProcessingInternal()
1591 if (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState != (int)GOOGLEWFD) { in doPostProcessingInternal()
1594 mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); in doPostProcessingInternal()
1608 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D, releaseFences[i]); in doPostProcessingInternal()
1623 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_RELEASE, FENCE_IP_G2D, releaseFences[dstBufIdx… in doPostProcessingInternal()
1626 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_RELEASE, FENCE_IP_MSC, releaseFences[dstBufIdx… in doPostProcessingInternal()
1677 if ((mAssignedDisplay == NULL) || (mAssignedSources.size() == 0)) in canSkipProcessing()
1683 dst = mAssignedDisplay->mExynosCompositionInfo.mDstImg; in canSkipProcessing()
1724 ret = allocOutBuf(ALIGN_UP(mAssignedDisplay->mXres, bufAlign), in doPostProcessing()
1725 ALIGN_UP(mAssignedDisplay->mYres, bufAlign), in doPostProcessing()
1745 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in doPostProcessing()
1759 mPrevAssignedDisplayType = mAssignedDisplay->mType; in doPostProcessing()
1767 mAssignedState, mAssignedDisplay->mType); in doPostProcessing()
1799 (mAssignedDisplay == NULL)) { in getDstImageInfo()
1800 MPP_LOGE("mCurrentDstBuf(%d), mAssignedDisplay(%p)", mCurrentDstBuf, mAssignedDisplay); in getDstImageInfo()
1833 img->w = mAssignedDisplay->mXres; in getDstImageInfo()
1834 img->h = mAssignedDisplay->mXres; in getDstImageInfo()
1872 … acquireFence = fence_close(acquireFence, mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_ALL); in setDstAcquireFence()
1885 fence_close(mDstImgs[dstBufIndex].acrylicAcquireFenceFd, mAssignedDisplay, in setDstAcquireFence()
1890 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_MSC, acquireFence); in setDstAcquireFence()
1893 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_G2D, acquireFence); in setDstAcquireFence()
2174 mAssignedDisplay = NULL; in resetMPP()
2200 mAssignedDisplay = NULL; in resetAssignedState()
2235 mAssignedDisplay = NULL; in resetAssignedState()
2262 mAssignedDisplay = display; in assignMPP()
2529 if ((mAssignedDisplay != NULL) && in getAssignedCapacity()
2530 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL)) in getAssignedCapacity()
2542 if ((mAssignedDisplay != NULL) && (mMaxSrcLayerNum > 1)) { in getAssignedCapacity()
2543 … baseCycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in getAssignedCapacity()
2545 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), baseCycles); in getAssignedCapacity()
2700 if (mAssignedDisplay != NULL) { in addCapacity()
2703 … mUsedBaseCycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in addCapacity()
2705 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), mUsedBaseCycles); in addCapacity()
2798 (mAssignedDisplay != NULL) && in updateUsedCapacity()
2803 … cycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in updateUsedCapacity()
2805 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), cycles); in updateUsedCapacity()
2912 if (mAssignedDisplay != NULL) in dump()
2913 assignedDisplayType = mAssignedDisplay->mType; in dump()
2931 fence_close(mSrcImgs[i].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2934 fence_close(mSrcImgs[i].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()
2939 fence_close(mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2942 fence_close(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()