GPU: [Linux + AMD] Remove some OEM stuff from the info

This commit is contained in:
Dylan Araps 2016-12-07 12:17:08 +11:00
parent 0b2bbeeead
commit ae4e2b038d
1 changed files with 2 additions and 0 deletions

View File

@ -946,6 +946,8 @@ get_gpu() {
gpu="${gpu//Intel*$'\n'}"
gpu="${gpu/'[AMD/ATI]' }"
gpu="${gpu/'[AMD]' }"
gpu="${gpu/OEM }"
gpu="${gpu/ \/ *}"
gpu="${gpu/*\[}"
gpu="${gpu/\]*}"
gpu="AMD $gpu"