|
30 | 30 | TableRow( |
31 | 31 | path=["hardware", "video"], |
32 | 32 | key_columns={ |
33 | | - "name": "Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7700 Series] (prog-if 00 [VGA controller])", |
| 33 | + "slot": "05:00.0", |
34 | 34 | }, |
35 | 35 | inventory_columns={ |
| 36 | + "name": "Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7700 Series] (prog-if 00 [VGA controller])", |
36 | 37 | "subsystem": "Hightech Information System Ltd. Device 200b", |
37 | 38 | "driver": "fglrx_pci", |
38 | 39 | }, |
|
53 | 54 | TableRow( |
54 | 55 | path=["hardware", "video"], |
55 | 56 | key_columns={ |
56 | | - "name": "Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7700 Series] (prog-if 00 [VGA controller])", |
| 57 | + "slot": "05:00.0", |
57 | 58 | }, |
58 | 59 | inventory_columns={ |
| 60 | + "name": "Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7700 Series] (prog-if 00 [VGA controller])", |
59 | 61 | "subsystem": None, |
60 | 62 | "driver": None, |
61 | 63 | }, |
|
88 | 90 | TableRow( |
89 | 91 | path=["hardware", "video"], |
90 | 92 | key_columns={ |
91 | | - "name": "Intel Corporation Device 9a49 (rev 01) (prog-if 00 [VGA controller])", |
| 93 | + "slot": "0000:00:02.0", |
92 | 94 | }, |
93 | 95 | inventory_columns={ |
| 96 | + "name": "Intel Corporation Device 9a49 (rev 01) (prog-if 00 [VGA controller])", |
94 | 97 | "subsystem": "Dell Device 0a38", |
95 | 98 | "driver": "i915", |
96 | 99 | }, |
|
99 | 102 | TableRow( |
100 | 103 | path=["hardware", "video"], |
101 | 104 | key_columns={ |
102 | | - "name": "Second graphics card", |
| 105 | + "slot": "00:03.0", |
103 | 106 | }, |
104 | 107 | inventory_columns={ |
| 108 | + "name": "Second graphics card", |
105 | 109 | "subsystem": "Some subsystem", |
106 | 110 | "driver": "Some driver", |
107 | 111 | }, |
|
110 | 114 | ], |
111 | 115 | id="Two graphics cards", |
112 | 116 | ), |
| 117 | + pytest.param( |
| 118 | + [ |
| 119 | + [ |
| 120 | + "00", |
| 121 | + "08.0 VGA compatible controller", |
| 122 | + " Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])", |
| 123 | + ], |
| 124 | + ["Subsystem", " Hightech Information System Ltd. Device 200b"], |
| 125 | + ["Kernel driver in use", " hyperv_drm"], |
| 126 | + [ |
| 127 | + "00", |
| 128 | + "08.1 VGA compatible controller", |
| 129 | + " Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])", |
| 130 | + ], |
| 131 | + ["Subsystem", " Hightech Information System Ltd. Device 200c"], |
| 132 | + ["Kernel driver in use", " hyperv_drm"], |
| 133 | + ], |
| 134 | + [ |
| 135 | + TableRow( |
| 136 | + path=["hardware", "video"], |
| 137 | + key_columns={ |
| 138 | + "slot": "00:08.0", |
| 139 | + }, |
| 140 | + inventory_columns={ |
| 141 | + "name": "Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])", |
| 142 | + "subsystem": "Hightech Information System Ltd. Device 200b", |
| 143 | + "driver": "hyperv_drm", |
| 144 | + }, |
| 145 | + status_columns={}, |
| 146 | + ), |
| 147 | + TableRow( |
| 148 | + path=["hardware", "video"], |
| 149 | + key_columns={ |
| 150 | + "slot": "00:08.1", |
| 151 | + }, |
| 152 | + inventory_columns={ |
| 153 | + "name": "Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])", |
| 154 | + "subsystem": "Hightech Information System Ltd. Device 200b", |
| 155 | + "driver": "hyperv_drm", |
| 156 | + }, |
| 157 | + status_columns={}, |
| 158 | + ), |
| 159 | + ], |
| 160 | + id="Two identical graphics cards", |
| 161 | + ), |
113 | 162 | pytest.param( |
114 | 163 | [ |
115 | 164 | [ |
|
0 commit comments