summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-07 18:52:08 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-07 18:52:08 -0400
commita24aa7250d09ae68ceaaba987314388b5e52096c (patch)
tree608e06d51a1959e19be163ac11b1f57392e09f0d
parent284e1943f6726ed08e796f99e49fbd90ac7fa8a4 (diff)
DCE3/3.2: further fixes
disable the dig transmitter and encoder before setup and enable
-rw-r--r--src/atombios_output.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 60d6c10e..8e30348d 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -1544,8 +1544,12 @@ atombios_output_mode_set(xf86OutputPtr output,
case ENCODER_OBJECT_ID_INTERNAL_UNIPHY1:
case ENCODER_OBJECT_ID_INTERNAL_UNIPHY2:
case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA:
+ /* disable encoder and transmitter */
+ atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_DISABLE);
+ atombios_output_dig_encoder_setup(output, ATOM_DISABLE);
+
+ /* setup and enable the encoder and transmitter */
atombios_output_dig_encoder_setup(output, ATOM_ENABLE);
- atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_INIT);
atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_SETUP);
atombios_output_dig_transmitter_setup(output, ATOM_TRANSMITTER_ACTION_ENABLE);
break;