Home | History | Annotate | Download | only in graphics

Lines Matching refs:crtc_id

128             crtc_id = self.crtcs[i]
129 crtc = self._l.drmModeGetCrtc(self._fd, crtc_id).contents
134 def getCrtc(self, crtc_id):
138 @param crtc_id: The CRTC to get.
140 if crtc_id:
141 return self._l.drmModeGetCrtc(self._fd, crtc_id).contents
144 def getCrtcRobust(self, crtc_id=None):
145 crtc = self.getCrtc(crtc_id)
148 crtc = self.getCrtc(crtc_id)
185 ("crtc_id", c_uint),
200 return "<CRTC (%d)>" % self.crtc_id
225 self.crtc_id)
236 ("crtc_id", c_uint),
497 def getCrtc(self, crtc_id):
498 c_ptr = self._l.drmModeGetCrtc(self._fd, crtc_id)
543 def getCrtc(crtc_id=None):
545 @param crtc_id: None for first found CRTC with mode set
550 or DRM integer crtc_id
561 if crtc_id == "usb" or crtc_id == "evdi" or crtc_id == "udl":
566 if crtc_id == v.name:
570 if crtc_id == "usb" and (v.name == "evdi" or v.name == "udl"):
574 elif crtc_id == "internal" or crtc_id == "external":
575 internal = crtc_id == "internal"
587 crtc = d.getCrtc(e.crtc_id)
589 crtc_id = crtc.crtc_id
595 elif crtc_id is None or crtc_id == 0:
603 crtc_id = d.resources().crtcs[c]
615 if crtc_id == d.resources().crtcs[c]:
622 return _drm.resources().getCrtcRobust(crtc_id)