Lines Matching refs:crtc
30 // find the crtc id;
32 std::shared_ptr<DrmCrtc> crtc;
35 DISPLAY_LOGW("can not find crtc for id %{public}d", mCrtcId);
39 DISPLAY_LOGD("find crtc id %{public}d, pipe %{public}d", posCrts->GetId(), posCrts->GetPipe());
45 DISPLAY_LOGE("have no crtc %{public}zu ", crtcs.size()));
46 crtc = crtcIter->second;
47 DISPLAY_CHK_RETURN((crtc == nullptr), DISPLAY_FAILURE, DISPLAY_LOGE("crtc is null"));
49 if (!crtc->CanBind()) {
50 crtc = nullptr;
53 DISPLAY_LOGD("try crtc id : %{public}d", posCrts->GetId());
55 crtc = posCrts;
59 DISPLAY_CHK_RETURN((crtc == nullptr), DISPLAY_FAILURE,
60 DISPLAY_LOGE("encoder %{public}d can not bind to idle crtc", mEncoderId));
61 crtcId = crtc->GetId();