Lines Matching refs:crtc

96     std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i));  in Init()  local
99 ret = crtc->Init(); in Init()
104 crtcs_.emplace_back(std::move(crtc)); in Init()
118 for (auto &crtc : crtcs_) { in Init() local
119 if ((1 << crtc->pipe()) & e->possible_crtcs) in Init()
120 possible_crtcs.push_back(crtc.get()); in Init()
122 if (crtc->id() == e->crtc_id) in Init()
123 current_crtc = crtc.get(); in Init()
291 for (auto &crtc : crtcs_) { in AvailableWritebackConnector() local
292 if (crtc->display() == display) in AvailableWritebackConnector()
294 display_conn = GetConnectorForDisplay(crtc->display()); in AvailableWritebackConnector()
298 writeback_conn = GetWritebackConnectorForDisplay(crtc->display()); in AvailableWritebackConnector()
306 for (auto &crtc : crtcs_) { in GetCrtcForDisplay() local
307 if (crtc->display() == display) in GetCrtcForDisplay()
308 return crtc.get(); in GetCrtcForDisplay()
331 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay() local
332 if (crtc && crtc->can_bind(display)) { in TryEncoderForDisplay()
333 crtc->set_display(display); in TryEncoderForDisplay()
334 enc->set_crtc(crtc); in TryEncoderForDisplay()
339 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay()
341 if (crtc == enc->crtc()) in TryEncoderForDisplay()
344 if (crtc->can_bind(display)) { in TryEncoderForDisplay()
345 crtc->set_display(display); in TryEncoderForDisplay()
346 enc->set_crtc(crtc); in TryEncoderForDisplay()
385 DrmCrtc *display_crtc = display_conn->encoder()->crtc(); in AttachWriteback()
475 int DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name, in GetCrtcProperty() argument
477 return GetProperty(crtc.id(), DRM_MODE_OBJECT_CRTC, prop_name, property); in GetCrtcProperty()