radeon_hd: Revert a change from hrev45219

* Causes a regression in proper UNIPHY
  mode setting.
* These encoder setup routines do not
  get performed by any dpms stuff and
  are required to put the encoder in the
  correct state for programming.
* Resolves #8913 and maybe others
* Thanks Justin for testing!
This commit is contained in:
Alexander von Gluck IV
2013-02-26 22:36:20 -06:00
parent d06f58081a
commit 9e3038ae8e
@@ -324,9 +324,6 @@ encoder_mode_set(uint8 crtcID)
case ENCODER_OBJECT_ID_INTERNAL_UNIPHY1:
case ENCODER_OBJECT_ID_INTERNAL_UNIPHY2:
case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_LVTMA:
// already handled by virue of setting DPMS_OFF before
// getting here
#if 0
if ((info.chipsetFlags & CHIP_APU) != 0
|| info.dceMajor >= 5) {
// Setup DIG encoder
@@ -359,7 +356,6 @@ encoder_mode_set(uint8 crtcID)
transmitter_dig_setup(connectorIndex, pixelClock, 0, 0,
ATOM_TRANSMITTER_ACTION_ENABLE);
}
#endif
break;
case ENCODER_OBJECT_ID_INTERNAL_DDI:
case ENCODER_OBJECT_ID_INTERNAL_DVO1: