Skip to content

Commit

Permalink
Merge pull request #19 from eric-ch/stable-6-oxt-967
Browse files Browse the repository at this point in the history
STABLE-6: OXT-1108: surfman: Load plugins for non-primary devices.
  • Loading branch information
rossphilipson authored May 30, 2017
2 parents ff6c847 + 898082e commit 2032025
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 2032025

Please sign in to comment.