summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-09-10 11:27:45 +1000
committerDave Airlie <airlied@redhat.com>2012-09-10 11:27:45 +1000
commit7c7f2775604da61537c24c249884aaa220e06e13 (patch)
tree27fa1598c3ef4aa4f329500384ec7713650ea7fe /src
parent7fe16dd037ac688726869816888bd77fe4356f8e (diff)
radeon: don't fail to load if we have no modes and gpu driver.
This ensures radeon loads on output less GPUs as a GPU driver. There are server bugs that also need to be fixed. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index e953082c..94aa19c4 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -954,7 +954,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
if (!xf86LoadSubModule(pScrn, "ramdac")) return FALSE;
}
- if (pScrn->modes == NULL) {
+ if (!pScrn->is_gpu && pScrn->modes == NULL) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No modes.\n");
goto fail;
}