fix: 映射 ASPEED Technology 显卡代号

This commit is contained in:
Akizon77
2025-12-01 18:54:25 +08:00
parent ddb069791f
commit fed087b123

View File

@@ -115,7 +115,6 @@ func getFromSysfsDRM() string {
"simpledrm": true, "simpledrm": true,
"simplefb": true, "simplefb": true,
"cirrus-qemu": true, "cirrus-qemu": true,
"ast": true, //some LXC containers
} }
for _, path := range matches { for _, path := range matches {
@@ -160,10 +159,12 @@ func getFromSysfsDRM() string {
return "Allwinner Display Engine" return "Allwinner Display Engine"
case "tegra": case "tegra":
return "NVIDIA Tegra" return "NVIDIA Tegra"
case "ast": // LXC 容器映射物理显卡
return "ASPEED Technology, Inc. ASPEED Graphics Family"
} }
if driverName != "" { if driverName != "" {
return "SoC GPU (" + driverName + ")" return "Direct Render Manager " + driverName
} }
} }