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): argument
140 if crtc_id:
141 return self._l.drmModeGetCrtc(self._fd, crtc_id).contents
144 def getCrtcRobust(self, crtc_id=None): argument
145 crtc = self.getCrtc(crtc_id)
148 crtc = self.getCrtc(crtc_id)
200 return "<CRTC (%d)>" % self.crtc_id
225 self.crtc_id)
497 def getCrtc(self, crtc_id): argument
498 c_ptr = self._l.drmModeGetCrtc(self._fd, crtc_id)
543 def getCrtc(crtc_id=None): argument
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)