Lines Matching refs:writeback_conn
196 DrmConnector *writeback_conn, in SetupWritebackCommit() argument
199 if (writeback_conn->writeback_fb_id().id() == 0 || in SetupWritebackCommit()
200 writeback_conn->writeback_out_fence().id() == 0) { in SetupWritebackCommit()
208 ret = drmModeAtomicAddProperty(pset, writeback_conn->id(), in SetupWritebackCommit()
209 writeback_conn->writeback_fb_id().id(), in SetupWritebackCommit()
215 ret = drmModeAtomicAddProperty(pset, writeback_conn->id(), in SetupWritebackCommit()
216 writeback_conn->writeback_out_fence().id(), in SetupWritebackCommit()
223 ret = drmModeAtomicAddProperty(pset, writeback_conn->id(), in SetupWritebackCommit()
224 writeback_conn->crtc_id_property().id(), in SetupWritebackCommit()
235 DrmConnector *writeback_conn, in CommitFrame() argument
265 if (writeback_conn == NULL) { in CommitFrame()
269 ret = SetupWritebackCommit(pset, crtc->id(), writeback_conn, in CommitFrame()
661 std::unique_ptr<DrmDisplayComposition> &src, DrmConnector *writeback_conn, in FlattenOnDisplay() argument
665 ret = writeback_conn->UpdateModes(); in FlattenOnDisplay()
670 for (const DrmMode &mode : writeback_conn->modes()) { in FlattenOnDisplay()
743 ret = CommitFrame(src.get(), true, writeback_conn, writeback_buffer); in FlattenOnDisplay()
748 ret = CommitFrame(src.get(), false, writeback_conn, writeback_buffer); in FlattenOnDisplay()
766 int DrmDisplayCompositor::FlattenSerial(DrmConnector *writeback_conn) { in FlattenSerial() argument
818 ret = SetupWritebackCommit(pset, crtc->id(), writeback_conn, in FlattenSerial()
860 int DrmDisplayCompositor::FlattenConcurrent(DrmConnector *writeback_conn) { in FlattenConcurrent() argument
864 ret = drmdisplaycompositor.Init(resource_manager_, writeback_conn->display()); in FlattenConcurrent()
898 ->GetImporter(writeback_conn->display()) in FlattenConcurrent()
914 ret = drmdisplaycompositor.FlattenOnDisplay(copy_comp, writeback_conn, in FlattenConcurrent()
955 DrmConnector *writeback_conn = resource_manager_->AvailableWritebackConnector( in FlattenActiveComposition() local
957 if (!active_composition_ || !writeback_conn) { in FlattenActiveComposition()
962 if (writeback_conn->display() != display_) { in FlattenActiveComposition()
963 return FlattenConcurrent(writeback_conn); in FlattenActiveComposition()
965 return FlattenSerial(writeback_conn); in FlattenActiveComposition()