Skip to content

Commit

Permalink
feat: enable support for 3D controllers in gpu output
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariKnight committed Jun 18, 2024
1 parent 145d6e2 commit e79153c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ func main() {
// Get all GPUs (3d controllers are ignored)
output := iommu.MatchSubclass(`VGA`, pArg)

// Get all 3D controllers
controller3d := iommu.MatchSubclass(`3D`, pArg)
output = append(output, controller3d...)

// Print the output and exit
iommu.PrintOutput(output, pArg)
os.Exit(0)
Expand Down

0 comments on commit e79153c

Please sign in to comment.