Lines Matching refs:crtc

100     std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i));  in Init()  local
103 ret = crtc->Init(); in Init()
108 crtcs_.emplace_back(std::move(crtc)); in Init()
122 for (auto &crtc : crtcs_) { in Init() local
123 if ((1 << crtc->pipe()) & e->possible_crtcs) in Init()
124 possible_crtcs.push_back(crtc.get()); in Init()
126 if (crtc->id() == e->crtc_id) in Init()
127 current_crtc = crtc.get(); in Init()
295 for (auto &crtc : crtcs_) { in AvailableWritebackConnector() local
296 if (crtc->has_display(display)) in AvailableWritebackConnector()
298 for (auto it: crtc->displays()) { in AvailableWritebackConnector()
312 for (auto &crtc : crtcs_) { in GetCrtcForDisplay() local
313 if (crtc->has_display(display)) in GetCrtcForDisplay()
314 return crtc.get(); in GetCrtcForDisplay()
337 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay() local
338 if (crtc && crtc->can_bind(display)) { in TryEncoderForDisplay()
339 crtc->set_display(display); in TryEncoderForDisplay()
340 enc->set_crtc(crtc, display); in TryEncoderForDisplay()
345 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay()
347 if (crtc == enc->crtc()) in TryEncoderForDisplay()
350 if (crtc->can_bind(display)) { in TryEncoderForDisplay()
351 crtc->set_display(display); in TryEncoderForDisplay()
352 enc->set_crtc(crtc, display); in TryEncoderForDisplay()
390 DrmCrtc *crtc = enc->possible_crtcs().at(0); in CreateDisplayPipe() local
391 crtc->set_display(display); in CreateDisplayPipe()
392 enc->set_crtc(crtc, display); in CreateDisplayPipe()
394 crtc->displays().size()); in CreateDisplayPipe()
407 DrmCrtc *display_crtc = display_conn->encoder()->crtc(); in AttachWriteback()
506 int DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name, in GetCrtcProperty() argument
508 return GetProperty(crtc.id(), DRM_MODE_OBJECT_CRTC, prop_name, property); in GetCrtcProperty()
518 int DrmDevice::UpdateCrtcProperty(const DrmCrtc &crtc, DrmProperty *property) { in UpdateCrtcProperty() argument
520 props = drmModeObjectGetProperties(fd(), crtc.id(), DRM_MODE_OBJECT_CRTC); in UpdateCrtcProperty()