Lines Matching refs:display
366 // display modes have precedence
368 if (pScrn->display->modes[0] != NULL) {
373 for (mm = 0; pScrn->display->modes[mm] != NULL && !found; mm++) {
374 modes = pScrn->display->modes[mm];
515 // do the output configuration here only if dual display is enabled
532 if (pScrn->display->modes[0] != NULL) {
536 for (mm = 0; pScrn->display->modes[mm] != NULL && !found; mm++) {
537 modes = pScrn->display->modes[mm];
539 free(pScrn->display->modes[mm]);
540 pScrn->display->modes[mm] = efb_get_edid_preferred_mode(pScrn, head0);
545 pScrn->display->modes = malloc(2*sizeof(char *));
546 pScrn->display->modes[0] = efb_get_edid_preferred_mode(pScrn, head0);
547 pScrn->display->modes[1] = NULL;
557 mode = strdup(pScrn->display->modes[0]);
592 // if display virtual dimension is specified in xorg.conf, leave it alone
594 if (!pScrn->display->virtualX || !pScrn->display->virtualY) {
596 pScrn->display->virtualX = width * 2 + offset;
597 pScrn->display->virtualY = height;
599 pScrn->display->virtualX = width;
600 pScrn->display->virtualY = height * 2 + offset;