Lines Matching refs:CRT2

1087 /* Helper function for CRT2 monitor vrefresh/hsync options
1171 ((SiSMergedDisplayModePtr)mode->Private)->CRT2 = j;
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
1506 "Mode \"%s\" is not a supported mode for CRT2\n", modename);
1558 "Mode \"%s\" is not a supported mode for CRT2\n", mode1->name);
1668 /* Get DDC display size; if only either CRT1 or CRT2 provided these,
1832 DisplayModePtr j = ((SiSMergedDisplayModePtr)currentMode->Private)->CRT2;
1842 pSiS->maxCRT1_X2 = j->HDisplay; /* Widest CRT2 mode displayed with widest CRT1 mode */
1850 pSiS->maxCRT2_X1 = i->HDisplay; /* Widest CRT1 mode displayed with widest CRT2 mode */
1853 pSiS->maxCRT2_X2 = j->HDisplay; /* Widest CRT2 mode */
2119 "Pseudo-Xinerama: CRT2 (Screen %d) (%d,%d)-(%d,%d)\n",
2579 /* If CRT1 is LCDA, skip DDC (except 301C: DDC allowed, but uses CRT2 port!) */
2831 /* Backup detected CRT2 devices */
3175 static const char *mergednocrt2 = "No CRT2 output selected or no video bridge detected. %s.\n";
3179 static const char *crt2monname = "CRT2";
3873 /* First Head (always CRT2) */
5084 /* Detect LCD (connected via CRT2, regardless of LCDA) and LCD resolution */
5185 /* Detect CRT2-TV and PAL/NTSC mode */
5188 /* Detect CRT2-VGA */
5191 /* Backup detected CRT2 devices */
5239 * via CRT2.)
5291 /* Eventually overrule detected CRT2 type
5328 "Can't force CRT2 to LCD, no LCD detected\n");
5398 "CRT2 gamma correction not supported by hardware\n");
5404 "CRT2 gamma correction not supported for LCD\n");
5409 xf86DrvMsg(pScrn->scrnIndex, X_INFO, "CRT2 gamma correction is %s%s%s\n",
5498 /* Check if CRT1 used (or needed; this eg. if no CRT2 detected) */
5501 /* No CRT2 output? Then we NEED CRT1!
5510 /* No CRT2 output? Then we can't use Xv on CRT2 */
5518 /* ... and can't use CRT2 for Xv output */
5632 /* Determine CRT1<>CRT2 mode
5639 if(pSiS->CRT1off) { /* CRT2 only ------------------------------- */
5661 /* No CRT1? Then we use the video overlay on CRT2 */
5663 } else /* CRT1 and CRT2 - mirror or dual head ----- */
5690 "No CRT2 output selected or no bridge detected. "
5876 "Detected LCD PanelDelayCompensation 0x%02x (for LCD=CRT2)\n",
5891 "Using LCD PanelDelayCompensation 0x%02x (for LCD=CRT2)\n",
5958 /* ===== First head (always CRT2) ===== */
5964 "%dKB video RAM at 0x%lx available for master head (CRT2)\n",
6012 * own functions (in order to probe CRT2 as well)
6128 "Failed to read DDC data for CRT2\n");
6131 SISErrorLog(pScrn, "Failed to allocate memory for CRT2 monitor, %s.\n",
6146 /* CRT2: Got gamma for LCD or VGA2 */
6228 if(!pSiS->SecondHead) { /* CRT2: */
6292 /* Allow user modes, even if CRT2 is TV. Will be filtered through ValidMode();
6654 xf86DrvMsg(pScrn->scrnIndex, X_DEFAULT, "Min pixel clock for CRT2 is %d MHz\n",
6656 xf86DrvMsg(pScrn->scrnIndex, X_DEFAULT, "Max pixel clock for CRT2 is %d MHz\n",
6663 /* See above for a remark on handling CRT2 = TV */
6679 SISErrorLog(pScrn, "Building list of built-in modes for CRT2 failed, %s\n",
6686 "Replaced %s mode list for CRT2 with built-in modes\n",
6690 "Using %s widescreen modes for CRT2 VGA devices\n",
6795 SISErrorLog(pScrn, "No valid modes found for CRT2; %s\n", mergeddisstr);
7576 * BIOS is run as the BIOS sets up CRT2 according to
7622 /* Head 1 (master) is always CRT2 */
7679 ((SiSMergedDisplayModePtr)mode->Private)->CRT2,
8386 /* Master head is always CRT2 */
8389 /* We can only blank LCD, not other CRT2 devices */
8638 /* Read CR34 which the BIOS sets to the current mode number for CRT2
8691 /* CRT2 */
8937 "Failed to allocate cmap for CRT2, separate gamma correction disabled\n");
9157 /* For CRT2, we don't do that at this point in dual head
9555 temp1 = pScrn2->frameY0 + CDMPTR->CRT2->VDisplay;
9578 temp1 = pScrn2->frameX0 + CDMPTR->CRT2->HDisplay;
9591 pScrn2->frameX1 = pScrn2->frameX0 + CDMPTR->CRT2->HDisplay - 1;
9592 pScrn2->frameY1 = pScrn2->frameY0 + CDMPTR->CRT2->VDisplay - 1;
9645 BOUND(pScrn2->frameY0, y2, y2 + min(VMax, MBXNR2YMAX) - CDMPTR->CRT2->VDisplay);
9646 pSiS->CRT1frameX0 = x1 + CDMPTR->CRT2->HDisplay;
9653 BOUND(pScrn2->frameY0, y2, y2 + min(VMax, MBXNR2YMAX) - CDMPTR->CRT2->VDisplay);
9656 BOUND(pScrn2->frameX0, x2, x2 + min(HMax, MBXNR2XMAX) - CDMPTR->CRT2->HDisplay);
9659 pSiS->CRT1frameY0 = y1 + CDMPTR->CRT2->VDisplay;
9664 BOUND(pScrn2->frameX0, x2, x2 + min(HMax, MBXNR2XMAX) - CDMPTR->CRT2->HDisplay);
9670 BOUND(pScrn2->frameX0, x, x + HMax - CDMPTR->CRT2->HDisplay);
9671 BOUND(pScrn2->frameY0, y, y + VMax - CDMPTR->CRT2->VDisplay);
9677 BOUND(pScrn2->frameX0, 0, HVirt - CDMPTR->CRT2->HDisplay);
9678 BOUND(pScrn2->frameY0, 0, VVirt - CDMPTR->CRT2->VDisplay);
9685 pScrn2->frameX1 = pScrn2->frameX0 + CDMPTR->CRT2->HDisplay - 1;
9686 pScrn2->frameY1 = pScrn2->frameY0 + CDMPTR->CRT2->VDisplay - 1;
9762 /* Head 1 (master) is always CRT2 */
9888 /* This is a q&d work-around for a BIOS bug. In case we disabled CRT2,
9968 /* This is a q&d work-around for a BIOS bug. In case we disabled CRT2,
10152 if(SiS_CheckModeCRT2(pScrn, ((SiSMergedDisplayModePtr)mode->Private)->CRT2,
10371 mymode = ((SiSMergedDisplayModePtr)mode->Private)->CRT2;
10741 * if the function is called from the CRT1 or CRT2 session.
12801 /* Set bridge to "disable CRT2" mode if CRT2 is disabled, LCD-A is enabled */
12802 /* (Not needed for CRT1=VGA since CRT2 will really be disabled then) */
13055 "Current dotclock (%dMhz) too high for video overlay on CRT2\n",
13203 - if this is called by SetModeCRT1, CRT2 mode has been reset by SetModeCRT1
13204 - if this is called by SetModeCRT2, CRT2 mode has changed (duh!)
13740 if(VBFlags & CRT2_LCD) { /* CRT2 is LCD */
13785 } else if(VBFlags & CRT2_TV) { /* CRT2 is TV */
13790 } else if(VBFlags & CRT2_VGA) { /* CRT2 is VGA2 */
13803 } else { /* no CRT2 */
13866 /* SiS730 has troubles on CRT2 if CRT1 is at 32bpp */