Lines Matching refs:pScrn
243 EFBMapVidMem(ScrnInfoPtr pScrn, unsigned int flags, PCITAG picTag,
254 RADEONInfoPtr info = RADEONPTR(pScrn);
284 EFBUnmapVidMem(ScrnInfoPtr pScrn, pointer base, unsigned long size)
296 EFBNotifyModeChanged(ScrnInfoPtr pScrn)
298 RADEONInfoPtr info = RADEONPTR(pScrn);
303 if (pScrn->currentMode->name) {
304 strlcpy(mode.mode_name, pScrn->currentMode->name, GFX_MAX_VMODE_LEN);
309 mode.vRefresh = pScrn->currentMode->VRefresh;
315 EFBScreenInit(ScrnInfoPtr pScrn)
317 RADEONInfoPtr info = RADEONPTR(pScrn);
321 xf86DrvMsg (pScrn->scrnIndex, X_INFO, "RANDR is disabled\n");
329 EFBNotifyModeChanged(pScrn);
333 EFBCloseScreen(ScrnInfoPtr pScrn)
335 EFBNotifyModeChanged(pScrn);
360 ScrnInfoPtr pScrn = output->scrn;
368 if (pScrn->display->modes[0] != NULL) {
373 for (mm = 0; pScrn->display->modes[mm] != NULL && !found; mm++) {
374 modes = pScrn->display->modes[mm];
415 char *efb_get_edid_preferred_mode(ScrnInfoPtr pScrn, int head)
417 RADEONInfoPtr info = RADEONPTR(pScrn);
494 void EFBPreInitOutputConfiguration(ScrnInfoPtr pScrn, xf86CrtcConfigPtr config)
496 RADEONInfoPtr info = RADEONPTR(pScrn);
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]);
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;