Clarify that the default acceleration is UXA if KMS is available.

Stale documentation considered harmful of course.
This commit is contained in:
Carl Worth 2009-04-15 16:10:52 -07:00
parent b9716b836c
commit 506c810f8f
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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