whoops, revert some unnecessary changes
This commit is contained in:
parent
8a44a7acfc
commit
b1c2ea6535
|
|
@ -955,8 +955,6 @@ I830Set640x480(ScrnInfoPtr pScrn)
|
|||
if (VBESetVBEMode(pI830->pVbe, m, NULL))
|
||||
return TRUE;
|
||||
|
||||
ErrorF("Set640x480 failed1\n");
|
||||
|
||||
/* if the first failed, let's try the next - usually 800x600 */
|
||||
m = 0x32;
|
||||
switch (pScrn->depth) {
|
||||
|
|
@ -972,8 +970,6 @@ I830Set640x480(ScrnInfoPtr pScrn)
|
|||
if (VBESetVBEMode(pI830->pVbe, m, NULL))
|
||||
return TRUE;
|
||||
|
||||
ErrorF("Set640x480 failed2\n");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -5576,10 +5572,6 @@ I830BIOSEnterVT(int scrnIndex, int flags)
|
|||
|
||||
pI830->leaving = FALSE;
|
||||
|
||||
/* Detect monitor change and switch to suitable mode */
|
||||
if (!pI830->starting)
|
||||
I830DetectMonitorChange(pScrn);
|
||||
|
||||
#if 1
|
||||
/* Clear the framebuffer */
|
||||
memset(pI830->FbBase + pScrn->fbOffset, 0,
|
||||
|
|
@ -5638,11 +5630,9 @@ I830BIOSEnterVT(int scrnIndex, int flags)
|
|||
ResetState(pScrn, FALSE);
|
||||
SetHWOperatingState(pScrn);
|
||||
|
||||
#if 0
|
||||
/* Detect monitor change and switch to suitable mode */
|
||||
if (!pI830->starting)
|
||||
I830DetectMonitorChange(pScrn);
|
||||
#endif
|
||||
|
||||
if (!I830VESASetMode(pScrn, pScrn->currentMode))
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue