[lkml]   [2005]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] fix radeonfb MAX_MAPPED_VRAM in 2.4.30

Starting from 2.4.29 (that is under 2.4.29 and 2.4.30) xorg fails to start
fbdev driver on the top of radeonfb (ATI Radeon RV100 QY [Radeon 7000/VE])
and reports:

(EE) FBDEV(0): mmap fbmem: Invalid argument
(EE) FBDEV(0): Map vid mem failed

I've managed to repair it by doubling the MAX_MAPPED_VRAM define. The
patch is attached.

--- drivers/video/radeonfb.c.orig 2005-01-19 17:10:10.000000000 +0300
+++ drivers/video/radeonfb.c 2005-05-07 17:55:03.000000000 +0400
@@ -176,7 +176,7 @@
#define RTRACE if(0) printk

-#define MAX_MAPPED_VRAM (2048*2048*4)
+#define MAX_MAPPED_VRAM (2048*2048*8)
#define MIN_MAPPED_VRAM (1024*768*1)

enum radeon_chips {
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-05-13 22:59    [W:0.032 / U:13.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site