linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fix for Radeon Framebuffer in 2.5
@ 2003-04-07 22:38 Hanno Böck
  0 siblings, 0 replies; only message in thread
From: Hanno Böck @ 2003-04-07 22:38 UTC (permalink / raw)
  To: James Simmons, linux-fbdev-devel

Below is a fix for the radeonfb.
I own one of those radeon mobility cards reporting 0 megs of ram
instead of 8. However, it must be 8 Megs, not 8 kilobyte.
With this fix, radeonfb works fine with 2.5-kernels on my system.

Please apply this patch to the next updates you send to linus.

cu,

Hanno



--- linux-2.5.66-1/drivers/video/radeonfb.c	2003-04-01 11:16:11.000000000 +0200
+++ linux-2.5.66/drivers/video/radeonfb.c	2003-04-07 14:20:10.000000000 +0200
@@ -2936,7 +2936,7 @@
 		switch (pdev->device) {
 			case PCI_DEVICE_ID_ATI_RADEON_LY:
 			case PCI_DEVICE_ID_ATI_RADEON_LZ:
-				rinfo->video_ram = 8192;
+				rinfo->video_ram = 8192 * 1024;
 				break;
 			default:
 				break;


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-07 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-07 22:38 Fix for Radeon Framebuffer in 2.5 Hanno Böck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).