summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-03 10:30:20 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-03 10:30:20 +0000
commit33abd0ca160d8f23c2154f7b5b6dfaabffeb02de (patch)
tree016ad669c3c7bd7b2bdb6822cb120bfaa17f899c
parentbb032bfb6ab743278a41322f07a9276e67ff7632 (diff)
downloadmpv-33abd0ca160d8f23c2154f7b5b6dfaabffeb02de.tar.bz2
mpv-33abd0ca160d8f23c2154f7b5b6dfaabffeb02de.tar.xz
patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
Following patch adds ID of Radeon 9800 (non pro) (R350) to mplayer pci database, thus enabling vidix for it. Vidix works great on it... Well, not exactly great, just the same way it works on other radeons. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11372 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libdha/oth/pci.db2
-rw-r--r--vidix/drivers/radeon_vid.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/libdha/oth/pci.db b/libdha/oth/pci.db
index b0fb154b81..727f820ad5 100644
--- a/libdha/oth/pci.db
+++ b/libdha/oth/pci.db
@@ -272,6 +272,8 @@ d 10024e45 Radeon R300 NE [Radeon 9700] 0
d 10024e46 Radeon R300 NF [Radeon 9700] 0
d 10024e47 Radeon R300 NG [Radeon 9700] 0
d 10024e64 Radeon R300 [Radeon 9700] (Secondary) 0
+d 10024e48 Radeon R350 NH [Radeon 9800] 0
+d 10024e68 Radeon R350 [Radeon 9800] (Secondary) 0
d 10025041 Rage 128 PA/PRO 0
d 10025042 Rage 128 PB/PRO AGP 2x 0
d 10025043 Rage 128 PC/PRO AGP 4x 0
diff --git a/vidix/drivers/radeon_vid.c b/vidix/drivers/radeon_vid.c
index 60731b1928..353bbfee68 100644
--- a/vidix/drivers/radeon_vid.c
+++ b/vidix/drivers/radeon_vid.c
@@ -861,7 +861,8 @@ static unsigned short ati_card_ids[] =
DEVICE_ATI_RADEON_R300_ND,
DEVICE_ATI_RADEON_R300_NE,
DEVICE_ATI_RADEON_R300_NF,
- DEVICE_ATI_RADEON_R300_NG
+ DEVICE_ATI_RADEON_R300_NG,
+ DEVICE_ATI_RADEON_R350_NH
#endif
};
@@ -993,6 +994,11 @@ int vixProbe( int verbose,int force )
case DEVICE_ATI_RADEON_R300_NG:
RadeonFamily = 300;
break;
+
+ case DEVICE_ATI_RADEON_R350_NH:
+ RadeonFamily = 350;
+ break;
+
default:
break;
}