Skip to content

GPU: Query for DRM devices and use DRM number as card number

Arjen Hiemstra requested to merge work/ahiemstra/gpuid into master

The order in which PCI devices are enumerated can apparently change with some driver changes. This means that GPU 1 suddenly becomes GPU 2 and the other way around. The DRM subsystem does seem to have a consistent numbering for these devices, so query the DRM subsystem for devices and use its numbering for GPU indexing so that it remains stable.

BUG: 453283

Merge request reports

Loading