mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 14:20:55 +00:00
accurate X200 memory size detection (patch by rjoco77 at kezdionline dot ro)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23182 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c9f91073d0
commit
b059b8e36e
@ -1386,9 +1386,9 @@ static int radeon_init(void)
|
||||
else if (radeon_ram_size == 0 &&
|
||||
(def_cap.device_id == DEVICE_ATI_RS482_RADEON_XPRESS))
|
||||
{
|
||||
printf(RADEON_MSG" Working around buggy RS482 Radeon Xpress 200 (0 vs. >32MB ram)\n");
|
||||
/* Minimal selectable shared memory from bios 32M */
|
||||
radeon_ram_size = 32768*1024;
|
||||
printf(RADEON_MSG" Working around buggy RS482 Radeon Xpress 200 Memory Detection\n");
|
||||
radeon_ram_size = (INREG(CONFIG_MEMSIZE) + 0x100000) << 2;
|
||||
radeon_ram_size &= CONFIG_MEMSIZE_MASK;
|
||||
}
|
||||
#else
|
||||
/* Rage Mobility (rage128) also has memsize bug */
|
||||
|
Loading…
Reference in New Issue
Block a user