From a24aa7250d09ae68ceaaba987314388b5e52096c Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 7 Apr 2009 18:52:08 -0400 Subject: DCE3/3.2: further fixes disable the dig transmitter and encoder before setup and enable --- src/atombios_output.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3