radeonfb fix
PATCH 1/1 radeonfb fix
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 =====
drivers/video/radeonfb.c +1 -1
@@ -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/
Quoted 4 lines · Samuel Rydh
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/
Quoted 10 lines · Benjamin Herrenschmidt
Quoted 4 lines · Samuel Rydh
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/