Skip to content

Commit e95a39b

Browse files
committed
fix PCI device class when searching for graphics auxiliary devices
Signed-off-by: Christopher Desiniotis <[email protected]>
1 parent 20cc763 commit e95a39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/nvpci/nvpci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (d *nvidiaPCIDevice) unbindFromDriver() error {
112112
}
113113

114114
func (d *nvidiaPCIDevice) getGraphicsAuxDev() (*nvidiaPCIAuxDevice, error) {
115-
if d.Class != nvpci.PCI3dControllerClass {
115+
if d.Class != nvpci.PCIVgaControllerClass {
116116
return nil, nil
117117
}
118118

0 commit comments

Comments
 (0)