From: reddog83 <reddog83@chartermi.net>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] radeonfb for kernel-2.4.18-pre1
Date: Wed, 16 Jan 2002 22:54:35 -0500 [thread overview]
Message-ID: <auto-000047991150@front1.chartermi.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 377 bytes --]
Hi this patch fix's up the compiling issue with the Radeon Frame Buffer
driver. With this patch it should compile. I checked all over the LKML and
there has ben acouple of people who have sent the same patch in but have not
been acknowledged. Please apply this patch. Or Alan would you please include
this patch in your next ac release if you do have one?
Thank you Victor
[-- Attachment #2: radeonfb.diff --]
[-- Type: text/x-diff, Size: 1574 bytes --]
--- linux-2.4.18-pre1/drivers/video/radeonfb.c.orig Sat Dec 29 20:48:07 2001
+++ linux-2.4.18-pre1/drivers/video/radeonfb.c Sat Dec 29 22:35:21 2001
@@ -76,6 +76,7 @@
#include <video/fbcon-cfb32.h>
#include "radeon.h"
+#define LVDS_STATE_MASK 0xFFFFFFFF
#define DEBUG 0
@@ -2280,7 +2281,7 @@
save->lvds_gen_cntl = INREG(LVDS_GEN_CNTL);
save->lvds_pll_cntl = INREG(LVDS_PLL_CNTL);
save->tmds_crc = INREG(TMDS_CRC);
- save->tmds_transmitter_cntl = INREG(TMDS_TRANSMITTER_CNTL);
+/* save->tmds_transmitter_cntl = INREG(TMDS_TRANSMITTER_CNTL); */
}
@@ -2557,8 +2558,8 @@
} else {
/* DFP */
newmode.fp_gen_cntl |= (FP_FPON | FP_TMDS_EN);
- newmode.tmds_transmitter_cntl = (TMDS_RAN_PAT_RST |
- ICHCSEL) & ~(TMDS_PLLRST);
+/* newmode.tmds_transmitter_cntl = (TMDS_RAN_PAT_RST |
+ ICHCSEL) & ~(TMDS_PLLRST); */
newmode.crtc_ext_cntl &= ~CRTC_CRT_ON;
}
@@ -2647,7 +2648,7 @@
OUTREG(FP_VERT_STRETCH, mode->fp_vert_stretch);
OUTREG(FP_GEN_CNTL, mode->fp_gen_cntl);
OUTREG(TMDS_CRC, mode->tmds_crc);
- OUTREG(TMDS_TRANSMITTER_CNTL, mode->tmds_transmitter_cntl);
+/* OUTREG(TMDS_TRANSMITTER_CNTL, mode->tmds_transmitter_cntl); */
if (primary_mon == MT_LCD) {
unsigned int tmp = INREG(LVDS_GEN_CNTL);
next reply other threads:[~2002-01-17 3:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-17 3:54 reddog83 [this message]
2002-01-17 7:37 ` [PATCH] radeonfb for kernel-2.4.18-pre1 Michael Clark
2002-01-18 7:31 ` Ani Joshi
2002-01-18 8:18 ` [PATCH] drivers/video/modedb.c - 1400x1050 fbdev mode timings Michael Clark
2002-01-17 13:10 ` [PATCH] radeonfb for kernel-2.4.18-pre1 Jordan Breeding
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=auto-000047991150@front1.chartermi.net \
--to=reddog83@chartermi.net \
--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