/[gentoo-x86]/x11-base/xorg-server/files/xorg-server-1.8-nouveau-default.patch
Gentoo

Contents of /x11-base/xorg-server/files/xorg-server-1.8-nouveau-default.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Apr 16 23:34:56 2011 UTC (3 years ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Version bump. Drop old patches.

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
2 index 7f4ada8..d964c6c 100644
3 --- a/hw/xfree86/common/xf86AutoConfig.c
4 +++ b/hw/xfree86/common/xf86AutoConfig.c
5 @@ -192,7 +192,24 @@ videoPtrToDriverList(struct pci_device *dev,
6 break;
7 case 0x102b: driverList[0] = "mga"; break;
8 case 0x10c8: driverList[0] = "neomagic"; break;
9 - case 0x10de: case 0x12d2: driverList[0] = "nv"; break;
10 + case 0x10de: case 0x12d2:
11 + switch (dev->device_id) {
12 + /* NV1 */
13 + case 0x0008:
14 + case 0x0009:
15 + driverList[0] = "vesa";
16 + break;
17 + /* NV3 */
18 + case 0x0018:
19 + case 0x0019:
20 + driverList[0] = "nv";
21 + break;
22 + default:
23 + driverList[0] = "nouveau";
24 + driverList[1] = "nv";
25 + break;
26 + }
27 + break;
28 case 0x1106: driverList[0] = "openchrome"; break;
29 case 0x1b36: driverList[0] = "qxl"; break;
30 case 0x1163: driverList[0] = "rendition"; break;
31 --
32 1.6.5.2

  ViewVC Help
Powered by ViewVC 1.1.20