Home
last modified time | relevance | path

Searched refs:crtcs (Results 1 – 25 of 42) sorted by relevance

12

/external/libdrm/tests/kms/
Dlibkms-test-device.c110 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()
Dlibkms-test-plane.c44 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()
Dkms-steal-crtc.c111 err = kms_screen_set(screen, device->crtcs[index++], fb); in main()
147 err = kms_screen_set(screen, device->crtcs[index], fb); in main()
Dlibkms-test.h39 struct kms_crtc **crtcs; member
/external/libdrm/tests/modeprint/
Dmodeprint.c54 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/
Dkms_setmode.c260 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 …]
Dkms_invalid_dotclock.c85 ret = drmModeSetCrtc(data->drm_fd, data->res->crtcs[i], in test_output()
/external/libkmsxx/kms++/src/
Dplane.cpp72 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()
Dencoder.cpp69 vector<Crtc*> crtcs; in get_possible_crtcs() local
76 crtcs.push_back(crtc); in get_possible_crtcs()
79 return crtcs; in get_possible_crtcs()
Dconnector.cpp214 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/
Dskl_ddb_allocation.c55 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()
Dintel_framebuffer_dump.c59 crtc = drmModeGetCrtc(fd, res->crtcs[n]); in main()
Dintel_dp_compliance.c415 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/
DdrmModeGetResources.3.rst36 uint32_t *crtcs;
52 The *count_crtcs* and *crtcs* fields list the available CRTCs in the
/external/libdrm/tests/modetest/
Dmodetest.c103 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/
DREADME.md11 - 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/
Dproptest.c211 c = drmModeGetCrtc(fd, res->crtcs[i]); in listCrtcProperties()
215 res->crtcs[i], strerror(errno)); in listCrtcProperties()
/external/drm_hwcomposer/drm/
DDrmDevice.cpp164 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
DDrmDevice.h76 const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const;
/external/libkmsxx/py/tests/
Diact.py28 for c in card.crtcs:
/external/libkmsxx/utils/
Dkmstest.cpp139 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()
Dkmsprint.cpp98 …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/
DDisplayGbm.cpp75 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/
Dgraphics_utils.py647 crtcs = []
670 crtcs.append(CRTC(crtc_id, fb, (x, y), (width, height),
673 return crtcs
676 return crtcs
/external/igt-gpu-tools/overlay/x11/
Dposition.c91 XRRCrtcInfo *info = XRRGetCrtcInfo (dpy, res, res->crtcs[i]); in screen_size()

12