xf86-video-ati: Branch 'master'

Dave Airlie airlied at kemper.freedesktop.org
Sun Sep 9 18:39:06 PDT 2012


 src/radeon_kms.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c7f2775604da61537c24c249884aaa220e06e13
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 10 11:27:45 2012 +1000

    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 at redhat.com>

diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index e953082..94aa19c 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;
    }


More information about the xorg-commit mailing list