diff options
-rw-r--r-- | man/radeon.man | 8 | ||||
-rw-r--r-- | src/radeon.h | 3 | ||||
-rw-r--r-- | src/radeon_bios.c | 3 | ||||
-rw-r--r-- | src/radeon_driver.c | 1 |
4 files changed, 14 insertions, 1 deletions
diff --git a/man/radeon.man b/man/radeon.man index 86be9656..ac6ea409 100644 --- a/man/radeon.man +++ b/man/radeon.man @@ -422,6 +422,14 @@ internal TMDS controller. The default is .B off. .TP +.BI "Option \*qDefaultTVDACAdj\*q \*q" boolean \*q +Use the default driver provided TVDAC Adj values rather than the ones +provided by the bios. This option has no effect on Mac cards. Enable +this option if you are having problems with a washed out display on +the secondary DAC. +The default is +.B off. +.TP .BI "Option \*qDRI\*q \*q" boolean \*q Enable DRI support. This option allows you to enable to disable the DRI. The default is diff --git a/src/radeon.h b/src/radeon.h index 787a851c..57786c80 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -167,7 +167,8 @@ typedef enum { OPTION_TVDAC_LOAD_DETECT, OPTION_FORCE_TVOUT, OPTION_TVSTD, - OPTION_IGNORE_LID_STATUS + OPTION_IGNORE_LID_STATUS, + OPTION_DEFAULT_TVDAC_ADJ } RADEONOpts; diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 3848e601..a32188d5 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -620,6 +620,9 @@ Bool RADEONGetDAC2InfoFromBIOS (xf86OutputPtr output) if (!info->VBIOS) return FALSE; + if (xf86ReturnOptValBool(info->Options, OPTION_DEFAULT_TVDAC_ADJ, FALSE)) + return FALSE; + if (info->IsAtomBios) { /* not implemented yet */ return FALSE; diff --git a/src/radeon_driver.c b/src/radeon_driver.c index d1cbf493..b46f09cd 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -221,6 +221,7 @@ static const OptionInfoRec RADEONOptions[] = { { OPTION_FORCE_TVOUT, "ForceTVOut", OPTV_BOOLEAN, {0}, FALSE }, { 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 }, { -1, NULL, OPTV_NONE, {0}, FALSE } }; |