mirror of
https://github.com/fankes/komari-agent.git
synced 2026-02-04 12:17:30 +08:00
fix: 映射 ASPEED Technology 显卡代号
This commit is contained in:
@@ -115,7 +115,6 @@ func getFromSysfsDRM() string {
|
||||
"simpledrm": true,
|
||||
"simplefb": true,
|
||||
"cirrus-qemu": true,
|
||||
"ast": true, //some LXC containers
|
||||
}
|
||||
|
||||
for _, path := range matches {
|
||||
@@ -160,10 +159,12 @@ func getFromSysfsDRM() string {
|
||||
return "Allwinner Display Engine"
|
||||
case "tegra":
|
||||
return "NVIDIA Tegra"
|
||||
case "ast": // LXC 容器映射物理显卡
|
||||
return "ASPEED Technology, Inc. ASPEED Graphics Family"
|
||||
}
|
||||
|
||||
if driverName != "" {
|
||||
return "SoC GPU (" + driverName + ")"
|
||||
return "Direct Render Manager " + driverName
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user