Add ATI, Intel(R) to GPU maker list

This commit is contained in:
David Anderson 2021-05-03 19:43:33 -07:00
parent c1125582cc
commit 508a22bda9
1 changed files with 3 additions and 2 deletions

View File

@ -26,10 +26,11 @@
require_once("../inc/util.inc");
// strip leading AMD or NVIDIA
// strip leading AMD, NVIDIA, etc.
// This avoids showing the same model twice
//
function strip_vendor($model) {
foreach (array("AMD ", "NVIDIA ") as $maker) {
foreach (array("AMD ", "NVIDIA ", "ATI ", "Intel(R) ") as $maker) {
$n = strlen($maker);
if (substr($model, 0, $n) == $maker) {
return substr($model, $n);