summaryrefslogtreecommitdiff
path: root/src/uxa
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/uxa
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/uxa')
-rw-r--r--src/uxa/intel_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 7d716ebf..690ac778 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -186,7 +186,7 @@ static void PreInitCleanup(ScrnInfoPtr scrn)
static void intel_check_chipset_option(ScrnInfoPtr scrn)
{
intel_screen_private *intel = intel_get_screen_private(scrn);
- intel_detect_chipset(scrn, intel->pEnt, intel->PciInfo);
+ intel_detect_chipset(scrn, intel->pEnt);
}
static Bool I830GetEarlyOptions(ScrnInfoPtr scrn)