diff options
-rw-r--r-- | panels/info-overview/info-cleanup.c | 2 | ||||
-rw-r--r-- | tests/info/info-cleanup-test.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/panels/info-overview/info-cleanup.c b/panels/info-overview/info-cleanup.c index a444389c7..10418a5ec 100644 --- a/panels/info-overview/info-cleanup.c +++ b/panels/info-overview/info-cleanup.c @@ -41,7 +41,7 @@ prettify_info (const char *info) { "Core[(]TM[)]", "Core\342\204\242"}, { "Atom[(]TM[)]", "Atom\342\204\242"}, { "Gallium \\d+\\.\\d+ on (.*)", "\\1"}, - { "(AMD .*) [(].*", "\\1"}, + { " [(][^)]*(DRM|MESA|LLVM)[^)]*[)]?", ""}, { "Graphics Controller", "Graphics"}, }; diff --git a/tests/info/info-cleanup-test.txt b/tests/info/info-cleanup-test.txt index 637da42ab..2f4327977 100644 --- a/tests/info/info-cleanup-test.txt +++ b/tests/info/info-cleanup-test.txt @@ -10,4 +10,4 @@ AMD Ryzen Threadripper 1950X 16-Core Processor AMD Ryzen Threadripper 1950X 16-C AMD Radeon RX 580 Series (POLARIS10, DRM 3.42.0, 5.15.13-1-ck-generic-v3, LLVM 13.0.0) AMD Radeon RX 580 Series AMD EPYC 7251 8-Core Processor AMD EPYC 7251 8-Core Processor Gallium 0.4 on SVGA3D SVGA3D -Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) llvmpipe (LLVM 3.4, 128 bits) +Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) llvmpipe |