mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4.8-ac2] Vaio picturebook framebuffer fix...
@ 2001-08-13 13:52 Stelian Pop
  0 siblings, 0 replies; only message in thread
From: Stelian Pop @ 2001-08-13 13:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Alan Cox

Hi,

I don't know if this patch was already posted, but the 2.4.8-ac2
kernel does not compile without this patch (due to name changes
in the aty framebuffer code).

Alan, please apply.

Stelian.

diff -uNr --exclude-from=dontdiff linux-2.4.8-ac2.orig/drivers/video/aty/atyfb_base.c linux-2.4.8-ac2/drivers/video/aty/atyfb_base.c
--- linux-2.4.8-ac2.orig/drivers/video/aty/atyfb_base.c	Mon Aug 13 15:27:33 2001
+++ linux-2.4.8-ac2/drivers/video/aty/atyfb_base.c	Mon Aug 13 13:55:28 2001
@@ -2086,17 +2086,17 @@
 	aty_st_le32(OVR_WID_LEFT_RIGHT, hs, info);
 	udelay(10);
 
-	/* LCD_CONFIG_PANEL */
-	hs=aty_ld_lcd(LCD_CONFIG_PANEL,info);
+	/* CONFIG_PANEL */
+	hs=aty_ld_lcd(CONFIG_PANEL,info);
 	hs|=DONT_SHADOW_HEND ;
-	aty_st_lcd(LCD_CONFIG_PANEL, hs, info);
+	aty_st_lcd(CONFIG_PANEL, hs, info);
 	udelay(10);
 
 #if defined(DEBUG)
 	printk("LCD_INDEX CONFIG_PANEL LCD_GEN_CTRL POWER_MANAGEMENT\n"
 	"%08x  %08x     %08x     %08x\n",
 	aty_ld_le32(LCD_INDEX, info), 
-	aty_ld_lcd(LCD_CONFIG_PANEL, info),
+	aty_ld_lcd(CONFIG_PANEL, info),
 	aty_ld_lcd(LCD_GEN_CTRL, info), 
 	aty_ld_lcd(POWER_MANAGEMENT, info),
 #endif /* DEBUG */	
diff -uNr --exclude-from=dontdiff linux-2.4.8-ac2.orig/drivers/video/aty/mach64.h linux-2.4.8-ac2/drivers/video/aty/mach64.h
--- linux-2.4.8-ac2.orig/drivers/video/aty/mach64.h	Mon Aug 13 15:26:40 2001
+++ linux-2.4.8-ac2/drivers/video/aty/mach64.h	Mon Aug 13 13:55:46 2001
@@ -1148,6 +1148,8 @@
 #define APC_LUT_MN		0x39
 #define APC_LUT_OP		0x3A
 
+/* Values in CONFIG_PANEL */
+#define DONT_SHADOW_HEND	0x00004000
 
 /* Values in LCD_MISC_CNTL */
 #define BIAS_MOD_LEVEL_MASK	0x0000ff00
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-13 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-13 13:52 [PATCH 2.4.8-ac2] Vaio picturebook framebuffer fix Stelian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®