summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-06-19 14:54:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-06-19 16:03:37 +1000
commit5cb36ba57493bf7edf560bf370c87eff79f1d1a6 (patch)
tree36fd09584a4b90704f8fe2b52ffed79eae878de3
parent81148bb1dbc7007c021c59411d56cb31cfc74ef2 (diff)
default to glamor on maxwell
We have no RENDER/Xv acceleration in EXA for Maxwell. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--src/nv_driver.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 9d202b8..1174957 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1027,7 +1027,12 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
}
if (pNv->AccelMethod == UNKNOWN) {
- pNv->AccelMethod = EXA;
+#ifdef HAVE_GLAMOR
+ if (pNv->Architecture >= NV_MAXWELL)
+ pNv->AccelMethod = GLAMOR;
+ else
+#endif
+ pNv->AccelMethod = EXA;
}
if (xf86ReturnOptValBool(pNv->Options, OPTION_NOACCEL, FALSE)) {