Messages in this thread Patches in this message | | | Date | Thu, 10 Apr 2003 20:34:26 -0700 | Subject | Re: [FBDEV updates] Newest framebuffer fixes. | From | Joshua Kwan <> |
| |
On Thu, Apr 10, 2003 at 08:09:41PM +0100, James Simmons wrote: > > Hi! > > Here are the latest framebuffer changes. Some driver updates and a > massive cleanup of teh cursor code. Tony please test it on the i810 > chipset. I tested it on the Riva but there is one bug I can't seem to > find. Please test this patch. It is against 2.5.67 BK. It shoudl work > against 2.5.67 as well.
I found that it requires this patch to compile correctly for radeonfb, lifted from another LKML message:
--- a/include/linux/pci_ids.h 2003-04-02 22:10:00.000000000 +0200 +++ b/include/linux/pci_ids.h 2003-04-02 22:02:32.000000000 +0200 @@ -279,6 +279,7 @@ #define PCI_DEVICE_ID_ATI_RADEON_QO 0x514f #define PCI_DEVICE_ID_ATI_RADEON_Ql 0x516c #define PCI_DEVICE_ID_ATI_RADEON_BB 0x4242 +#define PCI_DEVICE_ID_ATI_RADEON_QM 0x514d /* LN (my Radeon 9100) */ /* Radeon RV200 (7500) */ #define PCI_DEVICE_ID_ATI_RADEON_QW 0x5157 #define PCI_DEVICE_ID_ATI_RADEON_QX 0x5158 And even then it does not build. Requires this patch.
--- a/drivers/video/radeonfb.c 2003-04-10 20:15:06.000000000 -0700 +++ b/drivers/video/radeonfb.c 2003-04-10 20:31:16.000000000 -0700 @@ -894,16 +894,6 @@ rinfo->pll.ref_div = 12; rinfo->pll.ref_clk = 2700; break; - case PCI_DEVICE_ID_ATI_RADEON_ND: - case PCI_DEVICE_ID_ATI_RADEON_NE: - case PCI_DEVICE_ID_ATI_RADEON_NF: - case PCI_DEVICE_ID_ATI_RADEON_NG: - rinfo->pll.ppll_max = 40000; - rinfo->pll.ppll_min = 20000; - rinfo->pll.xclk = 27000; - rinfo->pll.ref_div = 12; - rinfo->pll.ref_clk = 2700; - break; case PCI_DEVICE_ID_ATI_RADEON_QD: case PCI_DEVICE_ID_ATI_RADEON_QE: case PCI_DEVICE_ID_ATI_RADEON_QF: The kernel is still building, I will see what happens...
On 2.5.67-mm1 without the fbdev.diff, the computer would boot and not go into fb mode at all. It would just hang there. So I'm trying this now. Hope it works :)
Regards Josh
-- New PGP public key: 0x27AFC3EE [unhandled content-type:application/pgp-signature] | |