Put forware VBIOS data parsing
i830_bios_init() is called too late after output init, which makes bios data mostly useless, and caused all TV init fail as tv_present flag is not set.
This commit is contained in:
parent
111dd151de
commit
7457136353
|
|
@ -1895,6 +1895,10 @@ 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");
|
||||
|
||||
I830PreInitCrtcConfig(pScrn);
|
||||
|
||||
if (pI830->use_drm_mode) {
|
||||
|
|
@ -1914,10 +1918,6 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (i830_bios_init(pScrn))
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
|
||||
"VBIOS initialization failed.\n");
|
||||
|
||||
/*
|
||||
* XXX If we knew the pre-initialised GTT format for certain, we could
|
||||
* probably figure out the physical address even in the StolenOnly case.
|
||||
|
|
|
|||
Loading…
Reference in New Issue