[PATCH] radeonfb fix

STALE8283d

3 messages, 2 authors, 2004-01-04 · open the first message on its own page

[PATCH] radeonfb fix

From: Samuel Rydh <hidden>
Date: 2004-01-03 18:32:42

Hi,

The following patch is necessary to get the 2.6 radeonfb driver to detect
the flatpanel display. I believe the 2.4 code does exactly the same thing.


===== drivers/video/radeonfb.c 1.32 vs edited =====
--- 1.32/drivers/video/radeonfb.c	Fri Nov  7 13:07:07 2003
+++ edited/drivers/video/radeonfb.c	Sat Jan  3 17:20:25 2004
@@ -947,7 +947,7 @@
 	tmp = INREG(RADEON_BIOS_4_SCRATCH);
 	printk(KERN_DEBUG "radeon_get_moninfo: bios 4 scratch = %x\n", tmp);

-	if (rinfo->hasCRTC2) {
+	if (rinfo->hasCRTC2 && tmp ) {
 		/* primary DVI port */
 		if (tmp & 0x08)
 			rinfo->dviDisp_type = MT_DFP;

/Samuel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: [PATCH] radeonfb fix

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2004-01-03 23:00:30

On Sun, 2004-01-04 at 05:32, Samuel Rydh wrote:
Hi,

The following patch is necessary to get the 2.6 radeonfb driver to detect
the flatpanel display. I believe the 2.4 code does exactly the same thing.
Could you verify that the "new" radeonfb driver in my tree works
fine for you ? I rewrote significant parts of this driver, I expect
to have it merged upstream soon now.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: [PATCH] radeonfb fix

From: Samuel Rydh <hidden>
Date: 2004-01-04 14:05:45

On Sun, Jan 04, 2004 at 10:00:30AM +1100, Benjamin Herrenschmidt wrote:
On Sun, 2004-01-04 at 05:32, Samuel Rydh wrote:
quoted
Hi,

The following patch is necessary to get the 2.6 radeonfb driver to detect
the flatpanel display. I believe the 2.4 code does exactly the same thing.
Could you verify that the "new" radeonfb driver in my tree works
fine for you ? I rewrote significant parts of this driver, I expect
to have it merged upstream soon now.
It works indeed.

/Samuel

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help