Searched refs:crtcs (Results 1 – 13 of 13) sorted by relevance
/external/libdrm/tests/planetest/ |
D | dev.c | 192 dev->crtcs = calloc(dev->num_crtcs, sizeof(struct sp_crtc)); in create_sp_dev() 193 if (!dev->crtcs) { in create_sp_dev() 200 dev->crtcs[i].crtc = drmModeGetCrtc(dev->fd, r->crtcs[i]); in create_sp_dev() 201 if (!dev->crtcs[i].crtc) { in create_sp_dev() 205 dev->crtcs[i].pipe = i; in create_sp_dev() 206 dev->crtcs[i].num_planes = 0; in create_sp_dev() 208 props = drmModeObjectGetProperties(dev->fd, r->crtcs[i], in create_sp_dev() 215 dev->crtcs[i].mode_pid = get_prop_id(dev, props, "MODE_ID"); in create_sp_dev() 216 dev->crtcs[i].active_pid = get_prop_id(dev, props, "ACTIVE"); in create_sp_dev() 218 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/modeprint/ |
D | modeprint.c | 52 int crtcs; variable 302 if (crtcs) { in printRes() 304 crtc = drmModeGetCrtc(fd, res->crtcs[i]); in printRes() 307 printf("Could not get crtc %i\n", res->crtcs[i]); in printRes() 309 printCrtc(fd, res, crtc, res->crtcs[i]); in printRes() 338 crtcs = 0; in args() 351 crtcs = 1; in args() 373 crtcs = 1; in args() 385 crtcs = 1; in args()
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 96 struct crtc *crtcs; member 415 struct crtc *_crtc = &dev->resources->crtcs[i]; in dump_crtcs() 574 res->crtcs = malloc(res->res->count_crtcs * sizeof *res->crtcs); in get_resources() 579 if (!res->crtcs || !res->encoders || !res->connectors || !res->fbs) in get_resources() 582 memset(res->crtcs , 0, res->res->count_crtcs * sizeof *res->crtcs); in get_resources() 635 res->crtcs[i].mode = &res->crtcs[i].crtc->mode; in get_resources() 665 drmModeCrtc *crtc = dev->resources->crtcs[i].crtc; in get_crtc_index() 812 return &dev->resources->crtcs[crtc_idx - 1]; in pipe_find_crtc() 838 struct crtc *crtc = &dev->resources->crtcs[i]; in pipe_find_crtc_and_mode() 982 if (p->crtc_id == dev->resources->res->crtcs[i]) { in set_plane() [all …]
|
/external/drm_hwcomposer/ |
D | drmresources.cpp | 97 drmModeCrtcPtr c = drmModeGetCrtc(fd_, res->crtcs[i]); in Init() 99 ALOGE("Failed to get crtc %d", res->crtcs[i]); in Init() 109 ALOGE("Failed to allocate crtc %d", res->crtcs[i]); in Init() 116 ALOGE("Failed to initialize crtc %d", res->crtcs[i]); in Init()
|
/external/libdrm/tests/proptest/ |
D | proptest.c | 244 c = drmModeGetCrtc(fd, res->crtcs[i]); in listCrtcProperties() 248 res->crtcs[i], strerror(errno)); in listCrtcProperties()
|
/external/libdrm/ |
D | xf86drmMode.c | 115 drmFree(ptr->crtcs); in drmModeFreeResources() 231 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources() 235 (res.count_crtcs && !r->crtcs) || in drmModeGetResources() 240 drmFree(r->crtcs); in drmModeGetResources()
|
D | xf86drmMode.h | 189 uint32_t *crtcs; member
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_crtc.c | 425 drm_crtc = drmModeGetCrtc(ms->fd, res->crtcs[c]); in xorg_crtc_init()
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
D | modeset.c | 380 return drmdpy->resources->crtcs[idx]; in drm_display_choose_crtc()
|