diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-08-28 00:08:41 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-08-28 00:08:41 -0400 |
commit | ad6f7ad1b2ccae0bc0a416b9b0ca22709c9d5199 (patch) | |
tree | 0bdc4ea3774f7be21adbb104e91c1d1f8debce04 /src/radeon_output.c | |
parent | 17e0f9e6cbfdb115034d327bd34d46339fd632b7 (diff) |
RADEON: remove the "default" tv_standard option
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r-- | src/radeon_output.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 6bd0d95..3003ead 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -1806,7 +1806,27 @@ radeon_create_resources(xf86OutputPtr output) "RRConfigureOutputProperty error, %d\n", err); } /* Set the current value of the backlight property */ - s = "default"; + switch (radeon_output->default_tvStd) { + case TV_STD_PAL: + s = "pal"; + break; + case TV_STD_PAL_M: + s = "pal-m"; + break; + case TV_STD_PAL_60: + s = "pal-60"; + break; + case TV_STD_NTSC_J: + s = "ntsc-j"; + break; + case TV_STD_SCART_PAL: + s = "scart-pal"; + break; + case TV_STD_NTSC: + default: + s = "ntsc"; + break; + } err = RRChangeOutputProperty(output->randr_output, tv_std_atom, XA_STRING, 8, PropModeReplace, strlen(s), (pointer)s, FALSE, FALSE); |