/external/libdrm/tests/kms/ |
D | libkms-test-device.c | 110 device->crtcs = calloc(res->count_crtcs, sizeof(crtc)); in kms_device_probe_crtcs() 111 if (!device->crtcs) in kms_device_probe_crtcs() 115 crtc = kms_crtc_create(device, res->crtcs[i]); in kms_device_probe_crtcs() 119 device->crtcs[i] = crtc; in kms_device_probe_crtcs() 186 kms_crtc_free(device->crtcs[i]); in kms_device_close() 188 free(device->crtcs); in kms_device_close()
|
D | libkms-test-plane.c | 44 p->crtc_id = device->crtcs[i]->id; in kms_plane_probe() 51 if (device->crtcs[i]->id == p->crtc_id) { in kms_plane_probe() 52 plane->crtc = device->crtcs[i]; in kms_plane_probe()
|
D | kms-steal-crtc.c | 111 err = kms_screen_set(screen, device->crtcs[index++], fb); in main() 147 err = kms_screen_set(screen, device->crtcs[index], fb); in main()
|
D | libkms-test.h | 39 struct kms_crtc **crtcs; member
|
/external/libdrm/tests/modeprint/ |
D | modeprint.c | 54 int crtcs; variable 278 if (crtcs) { in printRes() 280 crtc = drmModeGetCrtc(fd, res->crtcs[i]); in printRes() 283 printf("Could not get crtc %i\n", res->crtcs[i]); in printRes() 285 printCrtc(fd, res, crtc, res->crtcs[i]); in printRes() 315 crtcs = 0; in args() 330 crtcs = 1; in args() 359 crtcs = 1; in args() 374 crtcs = 1; in args()
|
/external/igt-gpu-tools/tests/ |
D | kms_setmode.c | 260 int connector_count, struct crtc_config *crtcs, in setup_crtcs() argument 273 crtc = crtcs; in setup_crtcs() 285 resources->crtcs[crtc->crtc_idx]); in setup_crtcs() 362 static void cleanup_crtcs(struct crtc_config *crtcs, int crtc_count) in cleanup_crtcs() argument 367 igt_remove_fb(drm_fd, &crtcs[i].fb_info); in cleanup_crtcs() 368 drmModeSetCrtc(drm_fd, crtcs[i].crtc_id, 0, 0, 0, NULL, 0, NULL); in cleanup_crtcs() 370 free(crtcs[i].cconfs); in cleanup_crtcs() 536 struct crtc_config *crtcs, int crtc_count) in test_crtc_config() argument 554 get_crtc_config_str(&crtcs[i], str_buf[i], sizeof(str_buf[i])); in test_crtc_config() 567 crtc = &crtcs[i]; in test_crtc_config() [all …]
|
D | kms_invalid_dotclock.c | 85 ret = drmModeSetCrtc(data->drm_fd, data->res->crtcs[i], in test_output()
|
/external/libkmsxx/kms++/src/ |
D | plane.cpp | 72 auto crtcs = card().get_crtcs(); in get_possible_crtcs() local 80 auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; }); in get_possible_crtcs() 82 if (iter == crtcs.end()) in get_possible_crtcs()
|
D | encoder.cpp | 69 vector<Crtc*> crtcs; in get_possible_crtcs() local 76 crtcs.push_back(crtc); in get_possible_crtcs() 79 return crtcs; in get_possible_crtcs()
|
D | connector.cpp | 214 vector<Crtc*> crtcs; in get_possible_crtcs() local 221 crtcs.insert(crtcs.end(), l.begin(), l.end()); in get_possible_crtcs() 224 return crtcs; in get_possible_crtcs()
|
/external/igt-gpu-tools/tools/ |
D | skl_ddb_allocation.c | 55 for (int i = 0; i < 3 && (crtc = &crtcs[i].base); i++) 58 for (int i = 0; i < 3, intel_crtc = &crtcs[i]; i++) 102 struct intel_crtc crtcs[I915_MAX_PIPES]; variable 386 crtcs[i].base.dev = &drm_device; in init_stub() 387 crtcs[i].pipe = i; in init_stub()
|
D | intel_framebuffer_dump.c | 59 crtc = drmModeGetCrtc(fd, res->crtcs[n]); in main()
|
D | intel_dp_compliance.c | 415 crtc = drmModeGetCrtc(drmfd, mode_resources->crtcs[i]); in dump_crtcs_fd() 417 igt_warn("Could not get crtc %i: %s\n", mode_resources->crtcs[i], strerror(errno)); in dump_crtcs_fd() 811 return resources->crtcs[j]; in find_crtc_for_connector()
|
/external/libdrm/man/ |
D | drmModeGetResources.3.rst | 36 uint32_t *crtcs; 52 The *count_crtcs* and *crtcs* fields list the available CRTCs in the
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 103 struct crtc *crtcs; member 484 struct crtc *_crtc = &dev->resources->crtcs[i]; in dump_crtcs() 643 res->crtcs = calloc(res->count_crtcs, sizeof(*res->crtcs)); in get_resources() 648 if (!res->crtcs || !res->encoders || !res->connectors || !res->fbs) { in get_resources() 715 res->crtcs[i].mode = &res->crtcs[i].crtc->mode; in get_resources() 748 drmModeCrtc *crtc = dev->resources->crtcs[i].crtc; in get_crtc_by_id() 750 return &dev->resources->crtcs[i]; in get_crtc_by_id() 761 if (crtc->crtc->crtc_id == dev->resources->crtcs[i].crtc->crtc_id) in get_crtc_mask() 940 return &dev->resources->crtcs[crtc_idx - 1]; in pipe_find_crtc() 2042 int encoders = 0, connectors = 0, crtcs = 0, planes = 0, framebuffers = 0; in main() local [all …]
|
/external/libkmsxx/ |
D | README.md | 11 - kmstest - set modes and planes and show test pattern on crtcs/planes, and test page flips 14 - kmscube - rotating 3D cube on crtcs/planes
|
/external/libdrm/tests/proptest/ |
D | proptest.c | 211 c = drmModeGetCrtc(fd, res->crtcs[i]); in listCrtcProperties() 215 res->crtcs[i], strerror(errno)); in listCrtcProperties()
|
/external/drm_hwcomposer/drm/ |
D | DrmDevice.cpp | 164 drmModeCrtcPtr c = drmModeGetCrtc(fd(), res->crtcs[i]); in Init() 166 ALOGE("Failed to get crtc %d", res->crtcs[i]); in Init() 176 ALOGE("Failed to initialize crtc %d", res->crtcs[i]); in Init() 403 const std::vector<std::unique_ptr<DrmCrtc>> &DrmDevice::crtcs() const { in crtcs() function in android::DrmDevice
|
D | DrmDevice.h | 76 const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const;
|
/external/libkmsxx/py/tests/ |
D | iact.py | 28 for c in card.crtcs:
|
/external/libkmsxx/utils/ |
D | kmstest.cpp | 139 auto crtcs = card.get_crtcs(); in parse_crtc() local 141 if (num >= crtcs.size()) in parse_crtc() 144 output.crtc = crtcs[num]; in parse_crtc() 188 auto crtcs = card.get_crtcs(); in parse_crtc() local 190 if (num >= crtcs.size()) in parse_crtc() 193 output.crtc = crtcs[num]; in parse_crtc()
|
D | kmsprint.cpp | 98 …string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->id… in format_plane() local 100 str += fmt::format(" (crtcs: {})", crtcs); in format_plane()
|
/external/angle/src/libANGLE/renderer/gl/egl/gbm/ |
D | DisplayGbm.cpp | 75 unsigned long crtcs = enc->possible_crtcs; in ChooseCRTC() local 77 if (crtcs) in ChooseCRTC() 79 return __builtin_ctzl(crtcs); in ChooseCRTC() 405 mCRTC = drmModeGetCrtc(fd, resources->crtcs[n]); in hasUsableScreen()
|
/external/autotest/client/cros/graphics/ |
D | graphics_utils.py | 647 crtcs = [] 670 crtcs.append(CRTC(crtc_id, fb, (x, y), (width, height), 673 return crtcs 676 return crtcs
|
/external/igt-gpu-tools/overlay/x11/ |
D | position.c | 91 XRRCrtcInfo *info = XRRGetCrtcInfo (dpy, res, res->crtcs[i]); in screen_size()
|