Skip to content
  • Arjen Hiemstra's avatar
    GPU: Query for DRM devices and use DRM number as card number · 5eed0d51
    Arjen Hiemstra authored
    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
    5eed0d51