From a47f8683fefc9caa4df914de59929ae99823ca37 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 3 Oct 2013 15:58:26 +0100 Subject: intel: Handle fallback probing without match_data One extreme fallback path through the xf86PlatformProbe results in a call without any match data. As we have a device by this point, we can simply do a reverse match. Signed-off-by: Chris Wilson --- src/intel_driver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/intel_driver.h') diff --git a/src/intel_driver.h b/src/intel_driver.h index 272f14e5..b2cb1b9f 100644 --- a/src/intel_driver.h +++ b/src/intel_driver.h @@ -118,6 +118,8 @@ struct intel_device_info { int gen; }; +int intel_entity_get_devid(int index); + void intel_detect_chipset(ScrnInfoPtr scrn, EntityInfoPtr ent); int intel_open_device(int entity_num, -- cgit v1.2.3