diff options
Diffstat (limited to 'src/sna/sna_driver.c')
-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", |