]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-Radeon9000.patch
- rel. 0.20030207.3
[packages/XFree86.git] / XFree86-Radeon9000.patch
1 From: Jay Bratcher <jayb@cox-internet.com>
2 Newsgroups: comp.os.linux.hardware
3 Subject: Re: ATI Radeon 9000
4 Date: Sun, 15 Sep 2002 13:07:51 -0400
5 Organization: Posted via Supernews, http://www.supernews.com
6 Message-ID: <3D84BE67.40300@cox-internet.com>
7 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
8 X-Accept-Language: en-us
9 MIME-Version: 1.0
10 References: <3d844ae3$0$177$9b622d9e@news.freenet.de>
11 Content-Type: multipart/mixed;
12  boundary="------------060008020003010106020906"
13 X-Complaints-To: abuse@supernews.com
14 Lines: 162
15
16
17 diff -ruN xc.orig/programs/Xserver/hw/xfree86/common/xf86PciInfo.h xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
18 --- xc.orig/programs/Xserver/hw/xfree86/common/xf86PciInfo.h    Tue Jan 15 21:00:43 2002
19 +++ xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h Sat Sep  7 17:03:15 2002
20 @@ -253,6 +253,7 @@
21  #define PCI_CHIP_R200_QN       0x514E
22  #define PCI_CHIP_R200_QO       0x514F
23  #define PCI_CHIP_RV200_QW      0x5157
24 +#define PCI_CHIP_RV250_If      0x4966
25  #define PCI_CHIP_RADEON_QY     0x5159
26  #define PCI_CHIP_RADEON_QZ     0x515A
27  #define PCI_CHIP_R200_Ql       0x516C
28 @@ -890,6 +891,7 @@
29                                 {PCI_CHIP_R200_QN,      "Radeon 8500 QN",0},
30                                 {PCI_CHIP_R200_QO,      "Radeon 8500 QO",0},
31                                 {PCI_CHIP_RV200_QW,     "Radeon 7500 QW",0},
32 +                               {PCI_CHIP_RV250_If,     "Radeon 9000 If",0},
33                                 {PCI_CHIP_RADEON_QY,    "Radeon VE QY",0},
34                                 {PCI_CHIP_RADEON_QZ,    "Radeon VE QZ",0},
35                                 {PCI_CHIP_R200_Ql,      "Radeon 8500 Ql",0},
36 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atichip.c xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.c
37 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atichip.c   Wed Jan 16 11:22:25 2002
38 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.c        Fri Sep  6 15:49:54 2002
39 @@ -617,6 +617,9 @@
40          case NewChipID('Q', 'W'):
41              return ATI_CHIP_RV200;
42  
43 +       case NewChipID('I', 'f'):
44 +           return ATI_CHIP_RV250;
45 +
46          case NewChipID('H', 'D'):
47              return ATI_CHIP_HDTV;
48  
49 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atichip.h xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.h
50 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atichip.h   Wed Jan 16 11:22:25 2002
51 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.h        Fri Sep  6 15:50:24 2002
52 @@ -92,6 +92,7 @@
53      ATI_CHIP_RADEONMOBILITY7,   /* Radeon M7 */
54      ATI_CHIP_R200,              /* R200 */
55      ATI_CHIP_RV200,             /* RV200 */
56 +    ATI_CHIP_RV250,             /* RV250 */
57      ATI_CHIP_HDTV               /* HDTV */
58  } ATIChipType;
59  
60 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atiprobe.c xc/programs/Xserver/hw/xfree86/drivers/ati/atiprobe.c
61 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/atiprobe.c  Fri Jan 18 11:56:16 2002
62 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/atiprobe.c       Fri Sep  6 15:51:05 2002
63 @@ -1734,6 +1734,7 @@
64                      case ATI_CHIP_RADEONMOBILITY7:
65                      case ATI_CHIP_R200:
66                      case ATI_CHIP_RV200:
67 +                   case ATI_CHIP_RV250:
68                          DoRadeon = TRUE;
69                          continue;
70  
71 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h
72 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon.h    Wed Nov 14 11:50:44 2001
73 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon.h Fri Sep  6 15:52:00 2002
74 @@ -268,6 +268,7 @@
75      BOOL              HasCRTC2;     /* VE/M6/M7 */
76      BOOL              IsR200;       /* R200 chip */
77      BOOL              IsRV200;      /* RV200 chip */
78 +    BOOL              IsRV250;      /* RV250 chip */
79      BOOL              IsSecondary;  /* second Screen */
80      BOOL              UseCRT;       /* force use CRT port as primary */
81      BOOL              IsM6;         /* M6 card, for some workarounds */
82 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
83 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c     Tue Jan 15 21:00:43 2002
84 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c  Fri Sep  6 15:54:28 2002
85 @@ -1146,6 +1146,11 @@
86              info->HasCRTC2 = TRUE;  
87              info->IsRV200 = TRUE;
88              break;
89 +       case PCI_CHIP_RV250_If:  /* RV250 */
90 +            info->HasCRTC2 = TRUE;  
91 +            info->IsRV250 = TRUE;
92 +            break;
93 +
94          default: 
95              info->HasCRTC2 = FALSE;  
96      }
97 @@ -1285,6 +1290,7 @@
98         case PCI_CHIP_R200_Ql:
99         case PCI_CHIP_R200_BB:
100         case PCI_CHIP_RV200_QW:
101 +       case PCI_CHIP_RV250_If:
102         default:                 info->IsPCI = FALSE; break;
103         }
104      }
105 diff -ruN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_probe.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_probe.c
106 --- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_probe.c      Tue Jan 15 21:00:44 2002
107 +++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_probe.c   Fri Sep  6 15:56:29 2002
108 @@ -89,6 +89,7 @@
109      { PCI_CHIP_R200_Ql, "ATI Radeon 8500 Ql (AGP)" },
110      { PCI_CHIP_R200_BB, "ATI Radeon 8500 BB (AGP)" },
111      { PCI_CHIP_RV200_QW, "ATI Radeon 7500 QW (AGP)" },
112 +    { PCI_CHIP_RV250_If, "ATI Radeon 9000 If (AGP)" },
113      { -1,                 NULL }
114  };
115  
116 @@ -108,6 +109,7 @@
117      { PCI_CHIP_R200_Ql, PCI_CHIP_R200_Ql, RES_SHARED_VGA },
118      { PCI_CHIP_R200_BB, PCI_CHIP_R200_BB, RES_SHARED_VGA },
119      { PCI_CHIP_RV200_QW, PCI_CHIP_RV200_QW, RES_SHARED_VGA },
120 +    { PCI_CHIP_RV250_If, PCI_CHIP_RV250_If, RES_SHARED_VGA },
121      { -1,                 -1,                 RES_UNDEFINED }
122  };
123  
124 @@ -240,6 +242,7 @@
125             pEnt->chipset == PCI_CHIP_R200_Ql ||
126             pEnt->chipset == PCI_CHIP_R200_BB ||
127             pEnt->chipset == PCI_CHIP_RV200_QW ||
128 +          pEnt->chipset == PCI_CHIP_RV250_If ||
129             pEnt->chipset == PCI_CHIP_RADEON_LW ||
130             pEnt->chipset == PCI_CHIP_RADEON_LY ||
131             pEnt->chipset == PCI_CHIP_RADEON_LZ)
132
133 --
134
This page took 0.047812 seconds and 3 git commands to generate.