Commit c1b211c
committed
query: gpu: fix bug of when gpu is not detected because file doesn't exist
happened when I accidentaly booted in rescue mode and then it would open /sys/class/drm/card0/device/vendor but it doesn't exists, only in /sys/class/drm/card1/device/vendor1 parent 003f795 commit c1b211c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
0 commit comments