changeset 23125:48fdbc777870

onboard X200 GPU (shared memory) returns a 0 RAM size (patch by rjoco77@kezdionline.ro)
author ben
date Thu, 26 Apr 2007 18:39:08 +0000
parents 408e7e8d7121
children 99dc21f992c3
files vidix/radeon_vid.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/radeon_vid.c	Thu Apr 26 18:34:18 2007 +0000
+++ b/vidix/radeon_vid.c	Thu Apr 26 18:39:08 2007 +0000
@@ -1383,6 +1383,13 @@
       printf(RADEON_MSG" Workarounding buggy Radeon Mobility M6 (0 vs. 8MB ram)\n");
       radeon_ram_size = 8192*1024;
   }
+  else if (radeon_ram_size == 0 &&
+           (def_cap.device_id == DEVICE_ATI_RS482_RADEON_XPRESS))
+  {
+      printf(RADEON_MSG" Workarounding buggy RS482 Radeon Xpress 200 (0 vs. >32MB ram)\n");
+      /* Minimal selectable shared memory from bios 32M */
+      radeon_ram_size = 32768*1024;
+  } 
 #else
   /* Rage Mobility (rage128) also has memsize bug */
   if (radeon_ram_size == 0 &&