pci: Search for the first Intel GPU, rather than assume a fixed slot
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 6 Dec 2012 12:16:12 +0000 (12:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 6 Dec 2012 12:18:58 +0000 (12:18 +0000)
commit50fdf32e46bcfd01e83b813d6a1fd0dc5b686692
treeb32f16912fd524031c93659c945e281fe91fc504
parent51f08301ab5702db673fd4c2543ead7251641939
pci: Search for the first Intel GPU, rather than assume a fixed slot

Everywhere else we search for a match based on an Intel display
device, so if the quick check of the fixed slot fails, fallback to
walking the PCI bus looking for a match.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/intel_pci.c