Skip to content

Commit

Permalink
Merge pull request #18 from eric-ch/oxt-967
Browse files Browse the repository at this point in the history
OXT-967: Load Surfman plugins for non-primary devices.
  • Loading branch information
rossphilipson authored Mar 31, 2017
2 parents cda9d69 + 4bc4257 commit c260151
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions surfman/src/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,6 @@ pci_vendor_match (const char *vendors)
while ((device = pci_device_next(iter)))
{
pci_device_probe(device);
/* !! THE BLOC BELOW IS A NASTY HACK !! */
/* !! REMOVE IT WHEN AMD FIX THEIR PLUGIN !! */
if (!pci_device_is_boot_vga(device))
{
surfman_info(" - NOT using %04x:%04x at %02x:%02x.%02x, as it is NOT the primary adapter",
device->vendor_id, device->device_id,
device->bus, device->dev, device->func);
continue;
}
surfman_info (" - found %04x:%04x at %02x:%02x.%02x",
device->vendor_id, device->device_id,
device->bus, device->dev, device->func);
Expand Down

0 comments on commit c260151

Please sign in to comment.