Lines Matching refs:mAssignedDisplay

148     mAssignedDisplay(NULL),  in ExynosMPP()
857 fence_close(freeBuffer.acrylicAcquireFenceFd, mExynosMPP->mAssignedDisplay, in freeBuffers()
864 fence_close(freeBuffer.acrylicReleaseFenceFd, mExynosMPP->mAssignedDisplay, in freeBuffers()
891 fence = fence_close(fence, mExynosMPP->mAssignedDisplay, in checkStateFences()
970 if (mAssignedDisplay != NULL) { in allocOutBuf()
972 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in allocOutBuf()
974 mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); in allocOutBuf()
1075 if (mAssignedDisplay != NULL) { in needDstBufRealloc()
1076 assignedDisplay = mAssignedDisplay->mType; in needDstBufRealloc()
1107 if ((mAssignedDisplay && !mAssignedDisplay->mDisplayControl.skipM2mProcessing) || in canUsePrevFrame()
1219 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D, src.acquireFenceFd); in setupLayer()
1242 setFenceInfo(srcImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, in setupLayer()
1246 setFenceInfo(srcImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, in setupLayer()
1264 if ((mAssignedDisplay != NULL) && in setupLayer()
1265 ((mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL) || in setupLayer()
1266 (mAssignedDisplay->mType == HWC_DISPLAY_EXTERNAL))) in setupLayer()
1297 metaInfo.minLuminance = (uint16_t)(mAssignedDisplay->mMinLuminance * 10000); in getDstMetaInfo()
1298 metaInfo.maxLuminance = (uint16_t)mAssignedDisplay->mMaxLuminance; in getDstMetaInfo()
1325 if ((mAssignedDisplay != NULL) && in setupDst()
1326 (mAssignedDisplay->mColorMode != HAL_COLOR_MODE_NATIVE)) in setupDst()
1327 dataspace = colorModeToDataspace(mAssignedDisplay->mColorMode); in setupDst()
1358 if (mAssignedDisplay != NULL) in setupDst()
1359 … mAcrylicHandle->setCanvasDimension(pixel_align(mAssignedDisplay->mXres, G2D_JUSTIFIED_DST_ALIGN), in setupDst()
1360 pixel_align(mAssignedDisplay->mYres, G2D_JUSTIFIED_DST_ALIGN)); in setupDst()
1370 setFenceInfo(dstImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, in setupDst()
1375 setFenceInfo(dstImgInfo->acrylicAcquireFenceFd, mAssignedDisplay, in setupDst()
1384 (mAssignedDisplay != NULL) && in setupDst()
1385 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL) && in setupDst()
1386 (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState == (int)LLWFD)) { in setupDst()
1389 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in setupDst()
1396 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_G2D, dstImgInfo->acrylicAcqu… in setupDst()
1402 if ((mAssignedDisplay != NULL) && in setupDst()
1403 (mAssignedDisplay->mType != HWC_DISPLAY_VIRTUAL)) { in setupDst()
1515 setFenceInfo(releaseFences[dstBufIdx], mAssignedDisplay, in doPostProcessingInternal()
1520 setFenceInfo(releaseFences[i], mAssignedDisplay, in doPostProcessingInternal()
1525 setFenceInfo(releaseFences[dstBufIdx], mAssignedDisplay, in doPostProcessingInternal()
1530 setFenceInfo(releaseFences[i], mAssignedDisplay, in doPostProcessingInternal()
1539 (mAssignedDisplay != NULL) && in doPostProcessingInternal()
1540 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL)) { in doPostProcessingInternal()
1541 if (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState == (int)LLWFD) { in doPostProcessingInternal()
1544mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); // Close dst buf's fence in doPostProcessingInternal()
1547 if (((ExynosVirtualDisplay *)mAssignedDisplay)->mIsWFDState != (int)GOOGLEWFD) { in doPostProcessingInternal()
1550 mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D); in doPostProcessingInternal()
1564 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_SRC_RELEASE, FENCE_IP_G2D, releaseFences[i]); in doPostProcessingInternal()
1579 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_RELEASE, FENCE_IP_G2D, releaseFences[dstBufIdx… in doPostProcessingInternal()
1582 …hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_RELEASE, FENCE_IP_MSC, releaseFences[dstBufIdx… in doPostProcessingInternal()
1633 if ((mAssignedDisplay == NULL) || (mAssignedSources.size() == 0)) in canSkipProcessing()
1639 dst = mAssignedDisplay->mExynosCompositionInfo.mDstImg; in canSkipProcessing()
1682 ret = allocOutBuf(ALIGN_UP(mAssignedDisplay->mXres, bufAlign), in doPostProcessing()
1683 ALIGN_UP(mAssignedDisplay->mYres, bufAlign), in doPostProcessing()
1703 mAssignedDisplay, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_G2D); in doPostProcessing()
1717 mPrevAssignedDisplayType = mAssignedDisplay->mType; in doPostProcessing()
1725 mAssignedState, mAssignedDisplay->mType); in doPostProcessing()
1757 (mAssignedDisplay == NULL)) { in getDstImageInfo()
1758 MPP_LOGE("mCurrentDstBuf(%d), mAssignedDisplay(%p)", mCurrentDstBuf, mAssignedDisplay); in getDstImageInfo()
1787 img->w = mAssignedDisplay->mXres; in getDstImageInfo()
1788 img->h = mAssignedDisplay->mXres; in getDstImageInfo()
1826 … acquireFence = fence_close(acquireFence, mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_ALL); in setDstAcquireFence()
1839 fence_close(mDstImgs[dstBufIndex].acrylicAcquireFenceFd, mAssignedDisplay, in setDstAcquireFence()
1844 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_MSC, acquireFence); in setDstAcquireFence()
1847 … hwcCheckFenceDebug(mAssignedDisplay, FENCE_TYPE_DST_ACQUIRE, FENCE_IP_G2D, acquireFence); in setDstAcquireFence()
2125 mAssignedDisplay = NULL; in resetMPP()
2151 mAssignedDisplay = NULL; in resetAssignedState()
2186 mAssignedDisplay = NULL; in resetAssignedState()
2213 mAssignedDisplay = display; in assignMPP()
2471 if ((mAssignedDisplay != NULL) && in getAssignedCapacity()
2472 (mAssignedDisplay->mType == HWC_DISPLAY_VIRTUAL)) in getAssignedCapacity()
2484 if ((mAssignedDisplay != NULL) && (mMaxSrcLayerNum > 1)) { in getAssignedCapacity()
2485 … baseCycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in getAssignedCapacity()
2487 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), baseCycles); in getAssignedCapacity()
2642 if (mAssignedDisplay != NULL) { in addCapacity()
2645 … mUsedBaseCycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in addCapacity()
2647 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), mUsedBaseCycles); in addCapacity()
2740 (mAssignedDisplay != NULL) && in updateUsedCapacity()
2745 … cycles += ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL); in updateUsedCapacity()
2747 … ((mAssignedDisplay->mXres * mAssignedDisplay->mYres) / G2D_BASE_PPC_COLORFILL), cycles); in updateUsedCapacity()
2854 if (mAssignedDisplay != NULL) in dump()
2855 assignedDisplayType = mAssignedDisplay->mType; in dump()
2873 fence_close(mSrcImgs[i].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2876 fence_close(mSrcImgs[i].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()
2881 fence_close(mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2884 fence_close(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()