mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH 2.4.8-ac2] Vaio picturebook framebuffer fix...
Date: Mon, 13 Aug 2001 15:52:10 +0200	[thread overview]
Message-ID: <20010813155210.G24523@come.alcove-fr> (raw)

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 ---------------|

                 reply	other threads:[~2001-08-13 13:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010813155210.G24523@come.alcove-fr \
    --to=stelian.pop@fr.alcove.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®