Beschreibe hier die neue Seite. |
Blue Bar fix for i810 XFree driver(source - XFree bugtracker): [[Code] Index: i810_driver.c =================================================================== RCS file: /home/eich/cvs/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c,v retrieving revision 1.1.1.45 diff -u -r1.1.1.45 i810_driver.c --- i810_driver.c 8 Sep 2003 09:33:50 -0000 1.1.1.45 +++ i810_driver.c 12 Sep 2003 07:30:18 -0000 @@ -1350,13 +1350,19 @@ /* Setting the OVRACT Register for video overlay */ { CARD32 {LCD TV Control}? = INREG({LCD TV C}?); + CARD32 {TV HTotal}? = INREG({LCD TV HTOTAL}?); + CARD32 ActiveStart?, ActiveEnd?; - if(!({LCD TV Control}? & {LCD TV ENABLE}?) - || ({LCD TV Control}? & {LCD TV VGAMOD}?)) { - OUTREG({LCD TV OVRACT}?, - (i810Reg->OverlayActiveEnd? << 16) - | i810Reg->OverlayActiveStart?); - } + ActiveStart? = (({TV HTotal}? >> 16) & 0xfff) - 31; + ActiveEnd? = ({TV HTotal}? & 0x3ff) - 31; + ErrorF?("I810 OVRACT: TV: %s VGA: %s HTot: %u AcStart?: %u AcEnd?: %u" + "VGAOvrS?: %u VGAOvrE?: %u\n" + , {LCD TV Control}? & {LCD TV ENABLE}? ? "yes" : "no", + {LCD TV Control}? & {LCD TV VGAMOD}? ? "yes" : "no", + {TV HTotal}?, ActiveStart?, ActiveEnd?, i810Reg->OverlayActiveStart?,i810Reg->OverlayActiveEnd?); + + OUTREG({LCD TV OVRACT}?, + (ActiveEnd? << 16) | ActiveStart?); } /* Turn on DRAM Refresh */ @@ -2161,6 +2167,7 @@ I810Ptr? pI810 = I810PTR?(pScrn); vgaHWPtr hwp = VGAHWPTR(pScrn); int Base; + #if 1 if (pI810->showCache) { int lastline = pI810->FbMapSize? / ] |
![]() |
|