lkml.org 
[lkml]   [2005]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix radeonfb MAX_MAPPED_VRAM in 2.4.30
Hi,

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.
-L.

--- 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
#endif

-#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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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