diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-11 14:59:53 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-11 14:59:53 +0100 |
commit | 15911f533d6a7ef40e42ba5921fac7c62b290f8b (patch) | |
tree | 91478c5f621b2c66ca0086c4319113d57ff04306 /src/intel_module.c | |
parent | bc73acbd4da53bc50752c0413adcd0ce876e0a03 (diff) |
prime: Reorder probe messages so that the driver prefix is correct
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r-- | src/intel_module.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/intel_module.c b/src/intel_module.c index b4f0ad28..65a91b1c 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -557,19 +557,19 @@ intel_platform_probe(DriverPtr driver, if (scrn == NULL) return FALSE; - xf86DrvMsg(scrn->scrnIndex, X_INFO, - "using device path '%s'\n", path ? path : "Default device"); - - if (xf86IsEntitySharable(entity_num)) - xf86SetEntityShared(entity_num); - xf86AddEntityToScreen(scrn, entity_num); - scrn->driverVersion = INTEL_VERSION; scrn->driverName = INTEL_DRIVER_NAME; scrn->name = INTEL_NAME; scrn->driverPrivate = (void *)(match_data | 1); scrn->Probe = NULL; + if (xf86IsEntitySharable(entity_num)) + xf86SetEntityShared(entity_num); + xf86AddEntityToScreen(scrn, entity_num); + + xf86DrvMsg(scrn->scrnIndex, X_INFO, + "using device path '%s'\n", path ? path : "Default device"); + switch (get_accel_method()) { #if USE_SNA case SNA: return sna_init_scrn(scrn, entity_num); |