drm/radeon/kms: call correct atom table for digital output dpms.
authorDave Airlie <airlied@redhat.com>
Tue, 1 Dec 2009 05:02:17 +0000 (15:02 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:20 +0000 (11:37 +1000)
found while working on displayport.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_encoders.c

index c27f6bd11e36e54fcf9487fdeff7837653e9598d..291f6dd3683c93c12278403618f63977f6bfa9b9 100644 (file)
@@ -950,12 +950,12 @@ radeon_atom_encoder_dpms(struct drm_encoder *encoder, int mode)
        if (is_dig) {
                switch (mode) {
                case DRM_MODE_DPMS_ON:
-                       atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE);
+                       atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_ENABLE_OUTPUT);
                        break;
                case DRM_MODE_DPMS_STANDBY:
                case DRM_MODE_DPMS_SUSPEND:
                case DRM_MODE_DPMS_OFF:
-                       atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_DISABLE);
+                       atombios_dig_transmitter_setup(encoder, ATOM_TRANSMITTER_ACTION_DISABLE_OUTPUT);
                        break;
                }
        } else {