diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-29 12:55:43 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-29 12:55:43 -0700 |
commit | 170cae0c8d58fc141de1d8a2f17a4328d39c1263 (patch) | |
tree | 9b95c5660ec83cea2c8f0febcc42ecd20ec29311 /src/i830_driver.c | |
parent | 6511c082459789cf279e7a4528775a1c821ad8cc (diff) |
Only get the VBIOS in non-KMS mode
In KMS mode, the kernel takes care of this for us, so don't bother.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 23690cf6..bd7a32c2 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1643,14 +1643,13 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) if (!i830_detect_chipset(pScrn)) return FALSE; - if (i830_bios_init(pScrn)) - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, - "VBIOS initialization failed.\n"); - if (pI830->use_drm_mode) { if (!I830DrmModeInit(pScrn)) return FALSE; } else { + if (i830_bios_init(pScrn)) + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "VBIOS initialization failed.\n"); I830PreInitCrtcConfig(pScrn); if (!I830AccelMethodInit(pScrn)) return FALSE; |