xf86-video-ati: Branch 'master'

Alex Deucher agd5f at kemper.freedesktop.org
Fri May 30 07:11:06 PDT 2008


 man/radeon.man      |    6 ++++++
 src/radeon.h        |    3 ++-
 src/radeon_driver.c |    8 +++++---
 3 files changed, 13 insertions(+), 4 deletions(-)

New commits:
commit 7cb695a329a9b543ad61af08c2d7d6eaf56de35e
Author: Alex Deucher <alex at botch2.com>
Date:   Fri May 30 10:10:56 2008 -0400

    RADEON: add Int10 option
    
    On some radeons you can't read the bios without initializing int10.
    On ATOM-based secondary cards, intitializing int10 tends to hang the card.

diff --git a/man/radeon.man b/man/radeon.man
index ac6ea40..1d14358 100644
--- a/man/radeon.man
+++ b/man/radeon.man
@@ -505,6 +505,12 @@ LVDS as attached.
 The default is
 .B on. 
 .TP
+.BI "Option \*qInt10\*q \*q" boolean \*q
+This option allows you to disable int10 initialization.  Set this to 
+False if you are experiencing a hang when initializing a secondary card.
+The default is
+.B on. 
+.TP
 
 .SH SEE ALSO
 __xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
diff --git a/src/radeon.h b/src/radeon.h
index 9363c29..a5c0cd6 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -173,7 +173,8 @@ typedef enum {
     OPTION_FORCE_TVOUT,
     OPTION_TVSTD,
     OPTION_IGNORE_LID_STATUS,
-    OPTION_DEFAULT_TVDAC_ADJ
+    OPTION_DEFAULT_TVDAC_ADJ,
+    OPTION_INT10
 } RADEONOpts;
 
 
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 5ea7a49..e8320e7 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -191,6 +191,7 @@ static const OptionInfoRec RADEONOptions[] = {
     { OPTION_TVSTD,          "TVStandard",         OPTV_STRING,  {0}, FALSE },
     { OPTION_IGNORE_LID_STATUS, "IgnoreLidStatus", OPTV_BOOLEAN, {0}, FALSE },
     { OPTION_DEFAULT_TVDAC_ADJ, "DefaultTVDACAdj", OPTV_BOOLEAN, {0}, FALSE },
+    { OPTION_INT10,             "Int10",           OPTV_BOOLEAN, {0}, FALSE },
     { -1,                    NULL,               OPTV_NONE,    {0}, FALSE }
 };
 
@@ -1988,10 +1989,11 @@ static Bool RADEONPreInitInt10(ScrnInfoPtr pScrn, xf86Int10InfoPtr *ppInt10)
     /* don't need int10 on atom cards.
      * in theory all radeons, but the older stuff
      * isn't 100% yet
+     * secondary atom cards tend to hang when initializing int10,
+     * however, on some stom cards, you can't read the bios without
+     * intitializing int10.
      */
-    if ((info->ChipFamily == CHIP_FAMILY_R420)  ||
-	(info->ChipFamily == CHIP_FAMILY_RV410) ||
-	(info->ChipFamily >= CHIP_FAMILY_RV515))
+    if (!xf86ReturnOptValBool(info->Options, OPTION_INT10, TRUE))
 	return TRUE;
 
     if (xf86LoadSubModule(pScrn, "int10")) {


More information about the xorg-commit mailing list