Lines Matching refs:CRT1
1170 ((SiSMergedDisplayModePtr)mode->Private)->CRT1 = i;
1240 * simply set this to the refresh rate for the CRT1 mode (since CRT2 will
1281 * looks identical but consists of different modes for CRT1 and CRT2
1404 * largest mode for each CRT1 and CRT2. If not, we use the largest
1405 * common mode for CRT1 and CRT2 (if available). Additionally, and
1517 "Mode \"%s\" is not a supported mode for CRT1\n", modename);
1668 /* Get DDC display size; if only either CRT1 or CRT2 provided these,
1831 DisplayModePtr i = ((SiSMergedDisplayModePtr)currentMode->Private)->CRT1;
1842 pSiS->maxCRT1_X2 = j->HDisplay; /* Widest CRT2 mode displayed with widest CRT1 mode */
1845 pSiS->maxCRT1_X1 = i->HDisplay; /* Widest CRT1 mode */
1850 pSiS->maxCRT2_X1 = i->HDisplay; /* Widest CRT1 mode displayed with widest CRT2 mode */
2116 "Pseudo-Xinerama: CRT1 (Screen %d) (%d,%d)-(%d,%d)\n",
2570 /* If CRT1 is off, skip DDC */
2579 /* If CRT1 is LCDA, skip DDC (except 301C: DDC allowed, but uses CRT2 port!) */
2616 /* LCD never via (demanded) CRT1 DDC port */
3174 static const char *mergednocrt1 = "CRT1 not detected or forced off. %s.\n";
3888 /* Second Head (always CRT1) */
4981 /* Backup VB connection and CRT1 on/off register */
5081 /* Detect CRT1 (via DDC1 and DDC2, hence via VGA port; regardless of LCDA) */
5091 "Chipset/Video bridge does not support LCD-via-CRT1\n");
5095 "No digital LCD panel found, LCD-via-CRT1 disabled\n");
5236 * (Don't do this in MergedFB or DHM; LCDA and CRT1/VGA
5253 /* If LCD is > 1600, default to LCDA if we don't need CRT1/VGA for other head */
5357 (pSiS->VBFlags2 & VB2_VIDEOBRIDGE) ? "CRT1 g" : "G",
5365 (pSiS->VBFlags2 & VB2_VIDEOBRIDGE) ? "for CRT1 " : "",
5376 (pSiS->VBFlags2 & VB2_VIDEOBRIDGE) ? "CRT1 g" : "G");
5412 pSiS->CRT2SepGamma ? " (separate from CRT1)" : "");
5450 "CRT1 detection overruled by ForceCRT1 option\n");
5473 /* We must not actually switch off CRT1 before we changed the mode! */
5489 "CRT1 status changed by ForceCRT1 option\n");
5498 /* Check if CRT1 used (or needed; this eg. if no CRT2 detected) */
5501 /* No CRT2 output? Then we NEED CRT1!
5502 * We also need CRT1 if depth = 8 and bridge=LVDS|301B-DH
5516 /* Then we NEED CRT1... */
5522 /* LCDA? Then we don't switch off CRT1 */
5632 /* Determine CRT1<>CRT2 mode
5643 "CRT1 not detected or forced off. Dual Head mode can't initialize.\n");
5661 /* No CRT1? Then we use the video overlay on CRT2 */
5663 } else /* CRT1 and CRT2 - mirror or dual head ----- */
5686 } else { /* CRT1 only ------------------------------- */
5881 "Detected LCD PanelDelayCompensation1 0x%02x (for LCD=CRT1)\n",
5897 "Using LCD PanelDelayCompensation1 0x%02x (for LCD=CRT1)\n",
5967 /* ===== Second head (always CRT1) ===== */
5975 "%dKB video RAM at 0x%lx available for slave head (CRT1)\n",
6038 /* In dual head mode, probe DDC using VBE only for CRT1 (second head) */
6045 /* If CRT1 is off or LCDA, skip DDC via VBE */
6062 "VBE CRT1 DDC monitor info:\n");
6068 "End of VBE CRT1 DDC monitor info\n");
6149 /* CRT1: Got gamma for LCD or VGA */
6246 } else { /* CRT1: */
6567 * max clock for second head (CRT1)
7635 /* Head 2 (slave) is always CRT1 */
7670 ((SiSMergedDisplayModePtr)mode->Private)->CRT1,
7967 /* First, restore CRT1 on/off and VB connection registers */
7969 if(!(pSiS->oldCR17 & 0x80)) { /* CRT1 was off */
7975 } else { /* CRT1 was on -> do it now */
8087 /* Restore CRT1 status */
8380 /* Slave head is always CRT1 */
8694 /* CRT1 */
8865 /* Dual head: Do this AFTER the mode for CRT1 has been set */
9159 * be reset when setting the CRT1 mode). Hence, we just
9161 * going through this for CRT1.
9546 temp1 = pSiS->CRT1frameY0 + CDMPTR->CRT1->VDisplay;
9569 temp1 = pSiS->CRT1frameX0 + CDMPTR->CRT1->HDisplay;
9589 pSiS->CRT1frameX1 = pSiS->CRT1frameX0 + CDMPTR->CRT1->HDisplay - 1;
9590 pSiS->CRT1frameY1 = pSiS->CRT1frameY0 + CDMPTR->CRT1->VDisplay - 1;
9647 BOUND(pSiS->CRT1frameY0, y1, y1 + min(VMax, MBXNR1YMAX) - CDMPTR->CRT1->VDisplay);
9651 BOUND(pSiS->CRT1frameY0, y1, y1 + min(VMax, MBXNR1YMAX) - CDMPTR->CRT1->VDisplay);
9652 pScrn2->frameX0 = x2 + CDMPTR->CRT1->HDisplay;
9658 BOUND(pSiS->CRT1frameX0, x1, x1 + min(HMax, MBXNR1XMAX) - CDMPTR->CRT1->HDisplay);
9662 BOUND(pSiS->CRT1frameX0, x1, x1 + min(HMax, MBXNR1XMAX) - CDMPTR->CRT1->HDisplay);
9665 pScrn2->frameY0 = y2 + CDMPTR->CRT1->VDisplay;
9668 BOUND(pSiS->CRT1frameX0, x, x + HMax - CDMPTR->CRT1->HDisplay);
9669 BOUND(pSiS->CRT1frameY0, y, y + VMax - CDMPTR->CRT1->VDisplay);
9675 BOUND(pSiS->CRT1frameX0, 0, HVirt - CDMPTR->CRT1->HDisplay);
9676 BOUND(pSiS->CRT1frameY0, 0, VVirt - CDMPTR->CRT1->VDisplay);
9683 pSiS->CRT1frameX1 = pSiS->CRT1frameX0 + CDMPTR->CRT1->HDisplay - 1;
9684 pSiS->CRT1frameY1 = pSiS->CRT1frameY0 + CDMPTR->CRT1->VDisplay - 1;
9765 /* Head 2 (slave) is always CRT1 */
9889 * VBESaveRestore() does not restore CRT1. So we set any mode now,
9890 * because VBESetVBEMode correctly restores CRT1. Afterwards, we
9969 * VBESaveRestore() does not restore CRT1. So we set any mode now,
9970 * because VBESetVBEMode correctly restores CRT1. Afterwards, we
10148 if(SiS_CheckModeCRT1(pScrn, ((SiSMergedDisplayModePtr)mode->Private)->CRT1,
10368 mymode = ((SiSMergedDisplayModePtr)mode->Private)->CRT1;
10702 /* Switch on CRT1 for modes that require the bridge in SlaveMode */
10741 * if the function is called from the CRT1 or CRT2 session.
12688 * -) Disable CRT1 for saving bandwidth. This doesn't work with VESA;
12689 * VESA uses the bridge in SlaveMode and switching CRT1 off while
12731 /* -) We can't switch off CRT1 if bridge is in SlaveMode.
12802 /* (Not needed for CRT1=VGA since CRT2 will really be disabled then) */
13047 "Current dotclock (%dMhz) too high for video overlay on CRT1\n",
13846 /* Calculate CR33 (rate index) for CRT1.
13866 /* SiS730 has troubles on CRT2 if CRT1 is at 32bpp */