[PATCH] fix radeonfb MAX_MAPPED_VRAM in 2.4.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux