diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-31 01:29:31 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-31 01:30:09 +0000 |
commit | 5edab91b1ed6d2f1c88389a1c58f7a7812817923 (patch) | |
tree | 85fa1b038bbf752d1d35039215366115c72d2879 /src/intel_module.c | |
parent | 6db906ea8188cd7f731e5ef7391115ee8f5c17c8 (diff) |
intel: Try to load one AccelMethod if the .conf doesn't match
If you mistype or make the wrong selection in the AccelMethod override,
you can end up with a non-booting system, so lets always try to start
something!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r-- | src/intel_module.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/intel_module.c b/src/intel_module.c index 102d52aa..bb744224 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -582,10 +582,17 @@ intel_scrn_create(DriverPtr driver, case NOACCEL: #endif case UXA: - return intel_init_scrn(scrn); + return intel_init_scrn(scrn); #endif - default: break; + default: +#if USE_SNA + return sna_init_scrn(scrn, entity_num); +#elif USE_UXA + return intel_init_scrn(scrn); +#else + break; +#endif } #endif |