/external/libdrm/tests/planetest/ |
modeset.h | 10 struct sp_plane *get_sp_plane(struct sp_dev *dev, struct sp_crtc *crtc); 14 struct sp_crtc *crtc, int x, int y); 17 drmModePropertySetPtr pset, struct sp_crtc *crtc, int x, int y);
|
modeset.c | 13 static int set_crtc_mode(struct sp_dev *dev, struct sp_crtc *crtc, 36 ret = drmModePropertySetAdd(pset, crtc->crtc->crtc_id, 37 crtc->mode_pid, create_blob.blob_id) || 38 drmModePropertySetAdd(pset, crtc->crtc->crtc_id, 39 crtc->active_pid, 1) || 41 conn->crtc_id_pid, crtc->crtc->crtc_id); 58 memcpy(&crtc->crtc->mode, mode, sizeof(struct drm_mode_modeinfo)) [all...] |
planetest.c | 43 int card = 0, crtc = 0; local 47 parse_arguments(argc, argv, &card, &crtc); 55 if (crtc >= dev->num_crtcs) { 56 printf("Invalid crtc %d (num=%d)\n", crtc, dev->num_crtcs); 65 test_crtc = &dev->crtcs[crtc]; 94 test_crtc->crtc->mode.hdisplay - plane_w); 95 incrementor(&y_inc, &y, 5, 0, test_crtc->crtc->mode.vdisplay -
|
atomictest.c | 55 int card = 0, crtc = 0; local 59 parse_arguments(argc, argv, &card, &crtc); 67 if (crtc >= dev->num_crtcs) { 68 printf("Invalid crtc %d (num=%d)\n", crtc, dev->num_crtcs); 77 test_crtc = &dev->crtcs[crtc]; 114 test_crtc->crtc->mode.hdisplay - plane_w); 115 incrementor(&y_inc, &y, 5, 0, test_crtc->crtc->mode.vdisplay -
|
dev.h | 37 drmModeCrtcPtr crtc; member in struct:sp_crtc 60 void parse_arguments(int argc, char *argv[], int *card, int *crtc);
|
/external/libdrm/tests/kms/ |
libkms-test-crtc.c | 32 struct kms_crtc *crtc; local 34 crtc = calloc(1, sizeof(*crtc)); 35 if (!crtc) 38 crtc->device = device; 39 crtc->id = id; 41 return crtc; 44 void kms_crtc_free(struct kms_crtc *crtc) 46 free(crtc);
|
Makefile.am | 13 libkms-test-crtc.c \ 24 kms-steal-crtc \ 28 kms-steal-crtc \ 32 kms_steal_crtc_SOURCES = kms-steal-crtc.c
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_crtc.c | 73 crtc_dpms(xf86CrtcPtr crtc, int mode) 75 /* ScrnInfoPtr pScrn = crtc->scrn; */ 88 crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, 91 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); 92 modesettingPtr ms = modesettingPTR(crtc->scrn); 94 struct crtc_private *crtcp = crtc->driver_private; 103 if (output->crtc == crtc) 139 if (!crtc->active && crtc->version >= 3 412 xf86CrtcPtr crtc; local [all...] |
/external/autotest/client/bin/ |
screenshot.py | 9 argparser.add_argument("-c", "--crtc", type=int, default=0, 10 help="CRTC id (default first screen)") 21 image = crtcScreenshot(args.crtc)
|
/external/drm_hwcomposer/ |
drmresources.cpp | 80 ALOGE("Failed to get crtc %d", res->crtcs[i]); 85 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); 88 ret = crtc->Init(); 90 ALOGE("Failed to initialize crtc %d", res->crtcs[i]); 93 crtcs_.emplace_back(std::move(crtc)); 106 for (auto &crtc : crtcs_) { 107 if ((1 << crtc->pipe()) & e->possible_crtcs) 108 possible_crtcs.push_back(crtc.get()); 110 if (crtc->id() == e->crtc_id) 111 current_crtc = crtc.get() 249 DrmCrtc *crtc = enc->crtc(); local [all...] |
platform.cpp | 27 DrmCrtc *crtc, std::vector<DrmPlane *> *primary_planes, 32 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); 35 [=](DrmPlane *plane) { return plane->GetCrtcSupported(*crtc); }); 40 std::map<size_t, DrmHwcLayer *> &layers, bool use_squash_fb, DrmCrtc *crtc, 45 GetUsablePlanes(crtc, primary_planes, overlay_planes); 47 ALOGE("Display %d has no usable planes", crtc->display()); 69 precomp_plane, crtc); 77 int ret = i->ProvisionPlanes(&composition, layers, crtc, &planes); 86 crtc); 93 std::map<size_t, DrmHwcLayer *> &layers, DrmCrtc *crtc, [all...] |
drmencoder.cpp | 38 DrmCrtc *DrmEncoder::crtc() const { function in class:android::DrmEncoder 42 void DrmEncoder::set_crtc(DrmCrtc *crtc) { 43 crtc_ = crtc;
|
drmdisplaycomposition.h | 62 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc) 63 : type_(type), plane_(plane), crtc_(crtc) { 65 DrmCompositionPlane(Type type, DrmPlane *plane, DrmCrtc *crtc, 69 crtc_(crtc), 84 DrmCrtc *crtc() const { function in class:android::DrmCompositionPlane 109 int Init(DrmResources *drm, DrmCrtc *crtc, Importer *importer, 170 DrmCrtc *crtc() const { function in class:android::DrmDisplayComposition
|
drmencoder.h | 37 DrmCrtc *crtc() const; 38 void set_crtc(DrmCrtc *crtc);
|
/external/chromium-trace/catapult/tracing/tracing/extras/importer/linux_perf/ |
drm_parser.html | 49 var event = /crtc=(\d+), seq=(\d+)/.exec(eventBase.details); 53 var crtc = parseInt(event[1]); 55 this.drmVblankSlice(ts, 'vblank:' + crtc, 57 crtc: crtc,
|
drm_parser_test.html | 17 ' chrome-2465 [000] 71.653157: drm_vblank_event: crtc=0, seq=4233', 18 ' <idle>-0 [000] 71.669851: drm_vblank_event: crtc=0, seq=4234'
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
modeset.c | 171 if (drmsurf->is_shown && drmcrtc->crtc) { 172 err = drmModePageFlip(drmdpy->fd, drmcrtc->crtc->crtc_id, 236 if (drmsurf->current_crtc.crtc) 237 drmModeFreeCrtc(drmsurf->current_crtc.crtc); 328 * Choose a CRTC that supports all given connectors. 351 /* find an encoder the CRTC supports */ 375 "failed to find a CRTC that supports the given %d connectors", 384 * Remember the original CRTC status and set the CRTC 397 if (drmcrtc->crtc) { [all...] |
/external/libdrm/man/ |
drm-kms.xml | 63 <para>A <emphasis>CRTC</emphasis> short for 68 at any given time. The CRTC structure contains several fields 73 spans multiple CRTCs. A CRTC is the central point where 76 CRTC via 85 can be blended with or overlayed on top of a CRTC during the 89 with or overlayed on top of a CRTC. Planes are not provided by 99 <para>An <emphasis>encoder</emphasis> takes pixel data from a CRTC 101 connectors. On some devices, it may be possible to have a CRTC 128 that provide a source of pixel data to scanout to a CRTC. 158 each connector, you need to find a CRTC to drive this connector. I [all...] |
/external/autotest/server/site_tests/power_DarkResumeDisplay/ |
power_DarkResumeDisplay.py | 48 """Get the current crtc error count for the dut 50 @returns: A dict whose key is the crtc id, and whose value is a 54 pattern = 'Crtc ([0-9]+) Pipe ([A-Za-z]+) errors:\t\t([0-9a-fA-F]{8})' 75 store the current crtc error count 79 retrieve the current crtc error count after suspend 110 raise error.TestError('Crtc %d Pipe %s err count changed %d/%d' 113 logging.info('error counts for Crtc %d Pipe %s constant at %d', k,
|
/external/libdrm/tests/modetest/ |
modetest.c | 71 struct crtc { struct 72 drmModeCrtc *crtc; member in struct:crtc 103 struct crtc *crtcs; 369 struct crtc *_crtc = &dev->resources->crtcs[i]; 370 drmModeCrtc *crtc = _crtc->crtc; local 371 if (!crtc) 375 crtc->crtc_id, 376 crtc->buffer_id, 377 crtc->x, crtc->y 622 drmModeCrtc *crtc = dev->resources->crtcs[i].crtc; local 694 struct crtc *crtc; member in struct:pipe_arg 812 struct crtc *crtc = &dev->resources->crtcs[i]; local 960 struct crtc *crtc = NULL; local [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.cpp | 160 // get an attached crtc or spare crtc 162 ILOGTRACE("Drm encoder has crtc attached on device %d", device); 163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); 164 if (!output->crtc) { 165 ELOGTRACE("failed to get crtc from a known crtc id"); 166 // fall through to get a spare crtc 169 if (!output->crtc) { 170 ILOGTRACE("getting crtc for device %d", device) 171 drmModeCrtcPtr crtc; local [all...] |
/bootable/recovery/minui/ |
graphics_drm.cpp | 50 static void drm_disable_crtc(int drm_fd, drmModeCrtc *crtc) { 51 if (crtc) { 52 drmModeSetCrtc(drm_fd, crtc->crtc_id, 61 static void drm_enable_crtc(int drm_fd, drmModeCrtc *crtc, 65 ret = drmModeSetCrtc(drm_fd, crtc->crtc_id, 214 int32_t crtc; local 225 crtc = encoder->crtc_id; 227 return drmModeGetCrtc(fd, crtc); 231 * Didn't find anything, try to find a crtc and encoder combo. 233 crtc = -1 336 drmModeCrtc* crtc; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 160 // get an attached crtc or spare crtc 162 ITRACE("Drm encoder has crtc attached on device %d", device); 163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); 164 if (!output->crtc) { 165 ETRACE("failed to get crtc from a known crtc id"); 166 // fall through to get a spare crtc 169 if (!output->crtc) { 170 ITRACE("getting crtc for device %d", device) 171 drmModeCrtcPtr crtc; local [all...] |
/external/autotest/client/cros/graphics/ |
drm.py | 88 crtc = self._l.drmModeGetCrtc(self._fd, crtc_id).contents 89 if crtc.mode_valid: 90 return crtc 95 Obtain the CRTC at a given index. 97 @param crtc_id: The CRTC to get. 99 crtc = None 101 crtc = self._l.drmModeGetCrtc(self._fd, crtc_id).contents 103 crtc = self.getValidCrtc() 104 crtc._fd = self._fd 105 crtc._l = self._ [all...] |
/external/libdrm/tests/modeprint/ |
modeprint.c | 227 static int printCrtc(int fd, drmModeResPtr res, drmModeCrtcPtr crtc, uint32_t id) 229 printf("Crtc\n"); 231 printf("\tx : %i\n", crtc->x); 232 printf("\ty : %i\n", crtc->y); 233 printf("\twidth : %i\n", crtc->width); 234 printf("\theight : %i\n", crtc->height); 235 printf("\tmode : %p\n", &crtc->mode); 236 printf("\tgamma size : %d\n", crtc->gamma_size); 259 drmModeCrtcPtr crtc; local 303 crtc = drmModeGetCrtc(fd, res->crtcs[i]) [all...] |