[Openchrome-devel] xf86-video-openchrome: src/via_driver.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Tue Apr 12 17:14:38 UTC 2016
src/via_driver.c | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
New commits:
commit 25675f816326056eb9cd617f09d8dad23f1ae94a
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Tue Apr 12 10:13:23 2016 -0700
Removal of AccelMethod option
Since EXA is the only X Server acceleration architecture supported
anyway, there is no need for this option anymore. Therefore, this
option for use inside xorg.conf is discontinued.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_driver.c b/src/via_driver.c
index 39f0690..d1271f6 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -167,7 +167,6 @@ typedef enum
OPTION_I2CSCAN,
#endif
OPTION_NOACCEL,
- OPTION_ACCELMETHOD,
OPTION_EXA_NOCOMPOSITE,
OPTION_EXA_SCRATCH_SIZE,
OPTION_SWCURSOR,
@@ -199,7 +198,6 @@ static OptionInfoRec VIAOptions[] = {
{OPTION_I2CSCAN, "I2CScan", OPTV_BOOLEAN, {0}, FALSE},
#endif
{OPTION_NOACCEL, "NoAccel", OPTV_BOOLEAN, {0}, FALSE},
- {OPTION_ACCELMETHOD, "AccelMethod", OPTV_STRING, {0}, FALSE},
{OPTION_EXA_NOCOMPOSITE, "ExaNoComposite", OPTV_BOOLEAN, {0}, FALSE},
{OPTION_EXA_SCRATCH_SIZE, "ExaScratchSize", OPTV_INTEGER, {0}, FALSE},
{OPTION_SWCURSOR, "SWCursor", OPTV_BOOLEAN, {0}, FALSE},
@@ -1237,18 +1235,8 @@ VIAPreInit(ScrnInfoPtr pScrn, int flags)
if (!pVia->NoAccel) {
from = X_DEFAULT;
- if ((s = (char *)xf86GetOptValString(VIAOptions, OPTION_ACCELMETHOD))) {
- if (!xf86NameCmp(s, "EXA")) {
- from = X_CONFIG;
- pVia->useEXA = TRUE;
- } else if (!xf86NameCmp(s, "XAA")) {
- from = X_CONFIG;
- pVia->useEXA = TRUE;
- }
- }
xf86DrvMsg(pScrn->scrnIndex, from,
- "Using %s acceleration architecture.\n",
- pVia->useEXA ? "EXA" : "XAA");
+ "Using EXA acceleration architecture.\n");
//pVia->noComposite = FALSE;
if (pVia->useEXA) {
More information about the Openchrome-devel
mailing list