summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-03-12 11:59:29 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-03-23 00:18:00 +1000
commitfe7e0425a4a43b2a7d4743a0a90a86724c3b6775 (patch)
tree9d553644ff2cd5a3a7e328b82d21b7e1afc3ad97
parentf5d1cd2cb6808838ae1a188cef888eaa9582c76d (diff)
recognise kepler
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--src/nv_driver.c4
-rw-r--r--src/nv_type.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 667a0a7..56865e2 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -265,6 +265,7 @@ NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
case 0xa0:
case 0xc0:
case 0xd0:
+ case 0xe0:
break;
default:
xf86DrvMsg(-1, X_ERROR, "Unknown chipset: NV%02x\n", chipset);
@@ -694,6 +695,9 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
case 0xd0:
pNv->Architecture = NV_ARCH_C0;
break;
+ case 0xe0:
+ pNv->Architecture = NV_ARCH_E0;
+ break;
default:
return FALSE;
}
diff --git a/src/nv_type.h b/src/nv_type.h
index 73328fc..c8f27ac 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -25,6 +25,7 @@
#define NV_ARCH_40 0x40
#define NV_ARCH_50 0x50
#define NV_ARCH_C0 0xc0
+#define NV_ARCH_E0 0xe0
/* NV50 */
typedef struct _NVRec *NVPtr;