# HG changeset patch # User arpi # Date 1044236749 0 # Node ID 4898cfdf582a9712b88ba439933bd3c9c946fde3 # Parent e5c2d780ee4211625dde3645f2c361e5b7cf2f13 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 diff -r e5c2d780ee42 -r 4898cfdf582a vidix/drivers/radeon_vid.c --- a/vidix/drivers/radeon_vid.c Mon Feb 03 01:41:39 2003 +0000 +++ b/vidix/drivers/radeon_vid.c Mon Feb 03 01:45:49 2003 +0000 @@ -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));