summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-04-15 16:10:52 -0700
committerCarl Worth <cworth@cworth.org>2009-04-15 16:10:52 -0700
commit506c810f8f3db89048dda9777902f142ffeb86aa (patch)
treea03c5534b2e1ac2835da2a22ee18fa091234f76d
parentb9716b836cb2b4569c90b81f344932ac668dc5bf (diff)
Clarify that the default acceleration is UXA if KMS is available.
Stale documentation considered harmful of course.
-rw-r--r--man/intel.man2
-rw-r--r--src/i830_driver.c7
2 files changed, 6 insertions, 3 deletions
diff --git a/man/intel.man b/man/intel.man
index f85d3d1f..4f8db817 100644
--- a/man/intel.man
+++ b/man/intel.man
@@ -154,7 +154,7 @@ UXA is a newer acceleration architecture built from the EXA acceleration
code but taking advantage of kernel memory management to provide simpler,
faster code.
.IP
-Default: "EXA".
+Default: "UXA" if kernel-modesetting is available, "EXA" otherwise.
.TP
.BI "Option \*qModeDebug\*q \*q" boolean \*q
Enable printing of additional debugging information about modesetting to
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 32ca6c9a..48e23510 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1604,8 +1604,11 @@ I830AccelMethodInit(ScrnInfoPtr pScrn)
* config option AccelMethod to determine which to use, defaulting to EXA
* if none is specified, or if the string was unrecognized.
*
- * All this *could* go away if we removed XAA support from this driver,
- * for example. :)
+ * Then, just to make things more confusing, the default EXA will
+ * be overridden to UXA if KMS is available. See I830DrmModeInit.
+ *
+ * All this *will* go away when we remov XAA and EXA support from
+ * this driver. (And there will be much rejoicing.)
*/
if (!(pI830->accel == ACCEL_NONE)) {
#ifdef I830_USE_UXA