diff options
author | Alex Deucher <alex@botch2.com> | 2008-05-30 10:10:56 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2008-05-30 10:10:56 -0400 |
commit | 7cb695a329a9b543ad61af08c2d7d6eaf56de35e (patch) | |
tree | 1debf3c79547fdbb9ce9e0e7b16c48fa75f56cc5 /src | |
parent | 714b2c63ec1c4a1410a6d521c03e9d1f90937c01 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon.h | 3 | ||||
-rw-r--r-- | src/radeon_driver.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/radeon.h b/src/radeon.h index 9363c297..a5c0cd63 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 5ea7a499..e8320e78 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")) { |