Detect AMD GPU info via sysfs and block old cards

This wires up some new logic to start using sysfs to discover AMD GPU
information and detects old cards we can't yet support so we can fallback to CPU mode.
This commit is contained in:
Daniel Hiltgen
2024-02-11 14:50:06 -08:00
parent 1c8435ffa9
commit 6d84f07505
5 changed files with 151 additions and 34 deletions

View File

@@ -16,3 +16,9 @@ type GpuInfo struct {
// TODO add other useful attributes about the card here for discovery information
}
type Version struct {
Major uint
Minor uint
Patch uint
}