summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-08-23 18:46:41 +1000
committerDave Airlie <airlied@linux.ie>2007-08-23 18:46:41 +1000
commit3334c247540b113f9c4a5ce1879d8648a45a959a (patch)
tree121973248007b9420937824bea642f3e3260cdfc
parent8e3a6f83016cd8c4cfd43ceee4cbf0a8dc018b2a (diff)
radeon: bug 11899 + debian 435040 - test for usefbdev before calling int10
-rw-r--r--src/radeon_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 74323c96..466fd46c 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6871,7 +6871,7 @@ Bool RADEONEnterVT(int scrnIndex, int flags)
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
"RADEONEnterVT\n");
- if (INREG(RADEON_CONFIG_MEMSIZE) == 0) { /* Softboot V_BIOS */
+ if (!info->FBDev && (INREG(RADEON_CONFIG_MEMSIZE) == 0)) { /* Softboot V_BIOS */
xf86Int10InfoPtr pInt;
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"zero MEMSIZE, probably at D3cold. Re-POSTing via int10.\n");