Skip to contentSkip to conversation

Fix for Radeon Framebuffer in 2.5

PATCH Hanno Böck 1 participant 1 message Apr 7, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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

drivers/video/radeonfb.c +1 -1
@@ -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/