From 9badd018af0b5ab4704cb6e78d344a493c2f25e7 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 12 May 2024 11:44:34 -0700 Subject: When not using EXA, don't claim to be using XAA if it's not compiled in Signed-off-by: Alan Coopersmith Part-of: --- src/aticonfig.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/aticonfig.c b/src/aticonfig.c index eef46ea..3f5f141 100644 --- a/src/aticonfig.c +++ b/src/aticonfig.c @@ -494,7 +494,13 @@ ATIProcessOptions #endif /* USE_EXA */ xf86DrvMsg(pScreenInfo->scrnIndex, from, "Using %s acceleration architecture\n", - pATI->useEXA ? "EXA" : "XAA"); + pATI->useEXA ? "EXA" : +#if defined(USE_XAA) + "XAA" +#else + "no" +#endif + ); #if defined(USE_EXA) if (pATI->useEXA && pATI->Chip >= ATI_CHIP_264GTPRO) -- cgit v1.2.3