diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 15:58:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 16:15:22 +0100 |
commit | a47f8683fefc9caa4df914de59929ae99823ca37 (patch) | |
tree | 0e095a3502337e846241fee99244c27fe58be5fd /src/intel_driver.h | |
parent | 6c157a925f258fd4c82cf0c3004e7d0056c1cd70 (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r-- | src/intel_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |