[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.68,1.69

Arpi of Ize arpi at mplayerhq.hu
Mon Feb 3 02:45:52 CET 2003


Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv29754

Modified Files:
	radeon_vid.c 
Log Message:
The patch enables the fix for rage128_vid as well as radeon_vid, and looks for the
DEVICE_ATI_RAGE_MOBILITY device IDs in addition to the Radeon Mobility device IDs.
Tom Wu <tom at arcot.com>


Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- radeon_vid.c	20 Jan 2003 18:25:41 -0000	1.68
+++ radeon_vid.c	3 Feb 2003 01:45:49 -0000	1.69
@@ -1036,6 +1036,15 @@
       printf(RADEON_MSG" Workarounding buggy Radeon Mobility M6 (0 vs. 8MB ram)\n");
       radeon_ram_size = 8192*1024;
   }
+#else
+  /* Rage Mobility (rage128) also has memsize bug */
+  if (radeon_ram_size == 0 &&
+      (def_cap.device_id == DEVICE_ATI_RAGE_MOBILITY_M3 ||
+       def_cap.device_id == DEVICE_ATI_RAGE_MOBILITY_M32))
+  {
+      printf(RADEON_MSG" Workarounding buggy Rage Mobility M3 (0 vs. 8MB ram)\n");
+      radeon_ram_size = 8192*1024;
+  }
 #endif
   if((radeon_mem_base = map_phys_mem(pci_info.base0,radeon_ram_size))==(void *)-1) return ENOMEM;
   memset(&besr,0,sizeof(bes_registers_t));



More information about the MPlayer-cvslog mailing list