Hi,

did you ever wonder why matroxfb only lets you use 16MB
of your 32MB Matrox card? Here's a patch which enables
the full 32MB (it works with DirectFB, the matroxfb
developers were just too lazy to use the DSTORG and
SRCORG registers).

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH
--- matroxfb_base.c.old 2002-11-14 20:52:42.000000000 +0100
+++ matroxfb_base.c     2002-11-14 20:53:00.000000000 +0100
@@ -1398,9 +1398,9 @@
 #ifdef CONFIG_FB_MATROX_32MB
 /* from doc it looks like that accelerator can draw only to low 16MB :-( Direct 
accesses & displaying are OK for
    whole 32MB */
-static struct video_board vbG400               = {0x2000000, 0x1000000, 
FB_ACCEL_MATROX_MGAG400,       &matrox_G100};
+static struct video_board vbG400               = {0x2000000, 0x2000000, 
+FB_ACCEL_MATROX_MGAG400,       &matrox_G100};
 #else
-static struct video_board vbG400               = {0x2000000, 0x1000000, 
FB_ACCEL_MATROX_MGAG400,       &matrox_G100};
+static struct video_board vbG400               = {0x2000000, 0x2000000, 
+FB_ACCEL_MATROX_MGAG400,       &matrox_G100};
 #endif
 #endif
 

Reply via email to