diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-04 11:55:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-04 11:58:02 +0000 |
commit | 6c37ab3ddc5910fdf4ed663a8dc620edc9fec931 (patch) | |
tree | d1c5203f2b9d32c1998c28b4cfdf8115482de7c1 | |
parent | 255025d8d342610ddc75f510ea795bf8785f1578 (diff) |
sna: Print detected GPU first
This should make the GPU identification easier to find in future.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 4a96faff..58037c0a 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -509,6 +509,10 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags) goto cleanup; } + intel_detect_chipset(scrn, pEnt); + xf86DrvMsg(scrn->scrnIndex, X_PROBED, "CPU: %s\n", + sna_cpu_features_to_string(sna->cpu_features, buf)); + preferred_depth = sna->info->gen < 030 ? 15 : 24; if (!fb_supports_depth(fd, preferred_depth)) preferred_depth = 24; @@ -546,8 +550,6 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags) sna_setup_capabilities(scrn, fd); - intel_detect_chipset(scrn, pEnt); - kgem_init(&sna->kgem, fd, xf86GetPciInfoForEntity(pEnt->index), sna->info->gen); @@ -593,8 +595,6 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags) if (xf86ReturnOptValBool(sna->Options, OPTION_CRTC_PIXMAPS, FALSE)) sna->flags |= SNA_FORCE_SHADOW; - xf86DrvMsg(scrn->scrnIndex, X_PROBED, "CPU: %s\n", - sna_cpu_features_to_string(sna->cpu_features, buf)); xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Framebuffer %s\n", sna->tiling & SNA_TILING_FB ? "tiled" : "linear"); xf86DrvMsg(scrn->scrnIndex, X_CONFIG, "Pixmaps %s\n", |