summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-05-03 15:48:55 +0200
committerBen Skeggs <bskeggs@redhat.com>2013-05-07 08:20:11 +1000
commit50426ac83f9f077791e4df8c04fc0ecefc06e8ab (patch)
treeb8245f65a9e38139df182f8e5e6a54ea7e64ac30
parent2fa3397e348161a3394e2b456f065921272a056a (diff)
downloadxorg-driver-xf86-video-nouveau-50426ac83f9f077791e4df8c04fc0ecefc06e8ab.tar.gz
nouveau: Allow 3D accelerators with output ports
This patch let's cards with PCI class 0x30200 (3D controller) be operated by the nouveau driver as well. The nv Quadro NVS 450 is one such card, where the first GPU has PCI class 0x30000 and the other GPU has PCI class 0x30200. By ignoring the 1 << 9 bit in the PCI class mask, displays attached to the other GPU can also be used now. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dave Airlie <airlied@redhat.com> Cc: Ben Skeggs <skeggsb@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--src/nv_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 8088e37..ece5e91 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -60,7 +60,7 @@ static Bool NVUnmapMem(ScrnInfoPtr pScrn);
#define NOUVEAU_PCI_DEVICE(_vendor_id, _device_id) \
{ (_vendor_id), (_device_id), PCI_MATCH_ANY, PCI_MATCH_ANY, \
- 0x00030000, 0x00ffffff, 0 }
+ 0x00030000, 0x00ff0000, 0 }
static const struct pci_id_match nouveau_device_match[] = {
NOUVEAU_PCI_DEVICE(0x12d2, PCI_MATCH_ANY),