summaryrefslogtreecommitdiff
path: root/src/legacy/i810/i810_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-03 15:35:54 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-03 16:13:38 +0100
commit6c157a925f258fd4c82cf0c3004e7d0056c1cd70 (patch)
tree44ef3ea4eea1cc67121e924ae8bebb93bd814f9b /src/legacy/i810/i810_driver.c
parent4685e79d1163325b78722c84ce173c91c217ac02 (diff)
intel: Remove dependence upon having PciInfo
After some probing mechanisms, we may end up with a valid device without knowing its PCI address a priori. Having a valid device, we can just query it for the correct device id, and can safely abort any path that requires PCI information that we don't have. (Those paths are not valid under such hosting anyway - if it may be required, we could reconstruct the address.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/legacy/i810/i810_driver.c')
-rw-r--r--src/legacy/i810/i810_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c
index d647cb31..a1b73fd9 100644
--- a/src/legacy/i810/i810_driver.c
+++ b/src/legacy/i810/i810_driver.c
@@ -364,7 +364,7 @@ I810PreInit(ScrnInfoPtr scrn, int flags)
*/
I810DoDDC(scrn, pI810->pEnt->index);
- intel_detect_chipset(scrn, pI810->pEnt, pI810->PciInfo);
+ intel_detect_chipset(scrn, pI810->pEnt);
pI810->LinearAddr = pI810->PciInfo->regions[0].base_addr;
xf86DrvMsg(scrn->scrnIndex, X_PROBED, "Linear framebuffer at 0x%lX\n",