/external/libdrm/tests/planetest/ |
D | dev.c | 193 dev->crtcs = calloc(dev->num_crtcs, sizeof(struct sp_crtc)); in create_sp_dev() 194 if (!dev->crtcs) { in create_sp_dev() 201 dev->crtcs[i].crtc = drmModeGetCrtc(dev->fd, r->crtcs[i]); in create_sp_dev() 202 if (!dev->crtcs[i].crtc) { in create_sp_dev() 206 dev->crtcs[i].pipe = i; in create_sp_dev() 207 dev->crtcs[i].num_planes = 0; in create_sp_dev() 209 props = drmModeObjectGetProperties(dev->fd, r->crtcs[i], in create_sp_dev() 216 dev->crtcs[i].mode_pid = get_prop_id(dev, props, "MODE_ID"); in create_sp_dev() 217 dev->crtcs[i].active_pid = get_prop_id(dev, props, "ACTIVE"); in create_sp_dev() 219 if (!dev->crtcs[i].mode_pid || !dev->crtcs[i].active_pid) in create_sp_dev() [all …]
|
D | dev.h | 54 struct sp_crtc *crtcs; member
|
D | planetest.c | 65 test_crtc = &dev->crtcs[crtc]; in main()
|
D | atomictest.c | 77 test_crtc = &dev->crtcs[crtc]; in main()
|
D | modeset.c | 113 cr = &dev->crtcs[j]; in initialize_screens()
|
/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 | 53 int crtcs; variable 301 if (crtcs) { in printRes() 303 crtc = drmModeGetCrtc(fd, res->crtcs[i]); in printRes() 306 printf("Could not get crtc %i\n", res->crtcs[i]); in printRes() 308 printCrtc(fd, res, crtc, res->crtcs[i]); in printRes() 338 crtcs = 0; in args() 353 crtcs = 1; in args() 382 crtcs = 1; in args() 397 crtcs = 1; in args()
|
/external/autotest/client/cros/graphics/ |
D | graphics_utils.py | 670 crtcs = [] 686 crtcs.append(CRTC(crtc_id, fb, (x, y), (width, height))) 688 return crtcs 691 return crtcs 751 crtcs = get_modetest_crtcs() 752 if len(crtcs) > 0: 753 return crtcs[0].size 772 crtcs = get_modetest_crtcs() 773 if len(crtcs) > offset and crtcs[offset].size != (0, 0): 774 return crtcs[offset].size [all …]
|
/external/libkmsxx/kms++/src/ |
D | plane.cpp | 74 auto crtcs = card().get_crtcs(); in get_possible_crtcs() local 83 auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; }); in get_possible_crtcs() 85 if (iter == crtcs.end()) in get_possible_crtcs()
|
D | encoder.cpp | 67 vector<Crtc*> crtcs; in get_possible_crtcs() local 74 crtcs.push_back(crtc); in get_possible_crtcs() 77 return crtcs; in get_possible_crtcs()
|
D | connector.cpp | 200 vector<Crtc*> crtcs; in get_possible_crtcs() local 207 crtcs.insert(crtcs.end(), l.begin(), l.end()); in get_possible_crtcs() 210 return crtcs; in get_possible_crtcs()
|
D | card.cpp | 73 uint32_t id = res->crtcs[i]; in Card()
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 102 struct crtc *crtcs; member 466 struct crtc *_crtc = &dev->resources->crtcs[i]; in dump_crtcs() 626 res->crtcs = calloc(res->res->count_crtcs, sizeof(*res->crtcs)); in get_resources() 631 if (!res->crtcs || !res->encoders || !res->connectors || !res->fbs) in get_resources() 693 res->crtcs[i].mode = &res->crtcs[i].crtc->mode; in get_resources() 721 drmModeCrtc *crtc = dev->resources->crtcs[i].crtc; in get_crtc_index() 886 return &dev->resources->crtcs[crtc_idx - 1]; in pipe_find_crtc() 912 struct crtc *crtc = &dev->resources->crtcs[i]; in pipe_find_crtc_and_mode() 1068 if (p->crtc_id == dev->resources->res->crtcs[i]) { in set_plane() 1069 crtc = &dev->resources->crtcs[i]; in set_plane() [all …]
|
/external/drm_hwcomposer/ |
D | drmdevice.cpp | 89 drmModeCrtcPtr c = drmModeGetCrtc(fd(), res->crtcs[i]); in Init() 91 ALOGE("Failed to get crtc %d", res->crtcs[i]); in Init() 101 ALOGE("Failed to initialize crtc %d", res->crtcs[i]); in Init() 321 const std::vector<std::unique_ptr<DrmCrtc>> &DrmDevice::crtcs() const { in crtcs() function in android::DrmDevice
|
D | drmdevice.h | 73 const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const;
|
/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/libkmsxx/utils/ |
D | kmstest.cpp | 142 auto crtcs = card.get_crtcs(); in parse_crtc() local 144 if (num >= crtcs.size()) in parse_crtc() 147 output.crtc = crtcs[num]; in parse_crtc() 191 auto crtcs = card.get_crtcs(); in parse_crtc() local 193 if (num >= crtcs.size()) in parse_crtc() 196 output.crtc = crtcs[num]; in parse_crtc()
|
D | kmsprint.cpp | 106 …string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->id… in format_plane() local 108 str += sformat(" (crtcs: %s)", crtcs.c_str()); in format_plane()
|
/external/libkmsxx/py/tests/ |
D | iact.py | 28 for c in card.crtcs:
|
/external/libdrm/ |
D | xf86drmMode.c | 109 drmFree(ptr->crtcs); in drmModeFreeResources() 222 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources() 226 (res.count_crtcs && !r->crtcs) || in drmModeGetResources() 231 drmFree(r->crtcs); in drmModeGetResources()
|
D | xf86drmMode.h | 192 uint32_t *crtcs; member
|