diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-05-12 11:44:34 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-05-18 19:23:42 +0000 |
commit | 9badd018af0b5ab4704cb6e78d344a493c2f25e7 (patch) | |
tree | 2d751b7c7e539ee832d8d8488f812eba538914b5 | |
parent | 6c0df666f83c10a1ad11277263687760357857b7 (diff) |
When not using EXA, don't claim to be using XAA if it's not compiled in
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/merge_requests/15>
-rw-r--r-- | src/aticonfig.c | 8 |
1 files changed, 7 insertions, 1 deletions
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) |