Lines Matching refs:crtc
52 Crtc* crtc; member
97 output.crtc = resman.reserve_crtc(output.connector); in get_default_crtc()
99 if (!output.crtc) in get_default_crtc()
140 output.crtc = c; in parse_crtc()
147 output.crtc = crtcs[num]; in parse_crtc()
150 output.crtc = output.connector->get_current_crtc(); in parse_crtc()
189 output.crtc = c; in parse_crtc()
196 output.crtc = crtcs[num]; in parse_crtc()
199 output.crtc = output.connector->get_current_crtc(); in parse_crtc()
237 if (!resman.reserve_crtc(output.crtc)) in parse_crtc()
575 if (!current_output->crtc) in setups_to_outputs()
595 if (!current_output->crtc) in setups_to_outputs()
622 else if (current_output->crtc) in setups_to_outputs()
643 output.crtc = resman.reserve_crtc(conn); in setups_to_outputs()
644 EXIT_IF(!output.crtc, "Failed to reserve crtc for %s", conn->fullname().c_str()); in setups_to_outputs()
654 if (!o.crtc) in setups_to_outputs()
657 get_props(card, o.crtc_props, o.crtc); in setups_to_outputs()
675 p.plane = resman.reserve_generic_plane(o.crtc, p.fbs[0]->format()); in setups_to_outputs()
677 p.plane = resman.reserve_overlay_plane(o.crtc, p.fbs[0]->format()); in setups_to_outputs()
715 printf("\n Crtc %u/@%u", o.crtc->idx(), o.crtc->id()); in print_outputs()
759 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_legacy()
760 …if (find_if(outputs.begin(), outputs.end(), [crtc](const OutputInfo& o) { return o.crtc == crtc; }… in set_crtcs_n_planes_legacy()
763 crtc->disable_mode(); in set_crtcs_n_planes_legacy()
768 auto crtc = o.crtc; in set_crtcs_n_planes_legacy() local
775 int r = crtc->set_mode(conn, *fb, o.mode); in set_crtcs_n_planes_legacy()
778 crtc->id(), strerror(-r)); in set_crtcs_n_planes_legacy()
783 int r = crtc->set_plane(p.plane, *fb, in set_crtcs_n_planes_legacy()
806 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_atomic()
810 disable_req.add(crtc, { in set_crtcs_n_planes_atomic()
834 auto crtc = o.crtc; in set_crtcs_n_planes_atomic() local
840 { "CRTC_ID", crtc->id() }, in set_crtcs_n_planes_atomic()
846 req.add(crtc, { in set_crtcs_n_planes_atomic()
852 req.add(crtc, prop.prop, prop.val); in set_crtcs_n_planes_atomic()
859 { "CRTC_ID", crtc->id() }, in set_crtcs_n_planes_atomic()
983 int r = o.crtc->page_flip(*fb, this); in do_flip_output_legacy()
992 int r = o.crtc->set_plane(p.plane, *fb, in do_flip_output_legacy()