Bugzilla – Attachment 49018 Details for
Bug 113810
S3 Savage notebook LCD very dark
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fix
diff.savage_clut (text/plain), 1.37 KB, created by
Egbert Eich
on 2005-09-07 09:04:07 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Egbert Eich
Created:
2005-09-07 09:04:07 UTC
Size:
1.37 KB
patch
obsolete
>--- savage_driver.c.orig 2005-09-07 04:37:14.000000000 +0200 >+++ savage_driver.c 2005-09-07 04:42:07.000000000 +0200 >@@ -1809,9 +1809,9 @@ > VGAOUT8(0x3c4, 0x1b); > if( (pScrn->bitsPerPixel == 32) && !psav->DGAactive > && ! psav->FBStart2nd ) >- VGAOUT8(0x3c5, 0x18 ); >+ VGAOUT8(0x3c5, 0x78 ); > else >- VGAOUT8(0x3c5, 0x10 ); >+ VGAOUT8(0x3c5, 0x50 ); > > /* We may need TV/panel fixups here. See s3bios.c line 2904. */ > >@@ -2100,7 +2100,7 @@ > VGAOUT8(0x3c5, restore->SR18); > VGAOUT8(0x3c4, 0x1b); > if( psav->DGAactive ) >- VGAOUT8(0x3c5, restore->SR1B & ~0x08); >+ VGAOUT8(0x3c5, restore->SR1B & ~0x28); > else > VGAOUT8(0x3c5, restore->SR1B); > >@@ -2494,11 +2494,11 @@ > | ((psav->FBStart2nd) ? 0 : CMAP_PALETTED_TRUECOLOR); > > if (psav->Chipset == S3_SAVAGE4) { >- if (!xf86HandleColormaps(pScreen, 256, 6, SavageLoadPaletteSavage4, >+ if (!xf86HandleColormaps(pScreen, 256, pScrn->rgbBits, SavageLoadPaletteSavage4, > NULL, colormapFlags )) > return FALSE; > } else { >- if (!xf86HandleColormaps(pScreen, 256, 6, SavageLoadPalette, NULL, >+ if (!xf86HandleColormaps(pScreen, 256, pScrn->rgbBits, SavageLoadPalette, NULL, > colormapFlags )) > return FALSE; > } >@@ -2807,7 +2807,7 @@ > new->SR1B = 0x00; > > /* set 8-bit CLUT */ >- new->SR1B |= 0x10; >+ new->SR1B |= 0x50; > > new->CR43 = new->CR45 = new->CR65 = 0x00; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 113810
:
48147
|
48237
|
48403
|
48901
| 49018