drm/radeon/kms: fix typo in legacy internal tmds mode fixup
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 12 Nov 2009 19:01:36 +0000 (14:01 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:36:42 +0000 (11:36 +1000)
Call to set active device was missing.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_legacy_encoders.c

index 2670a9e6502f8a1050e5b4c16ed33280e7d374c1..a1d9d29319b29b5c9c8657c6e3839e88cf790063 100644 (file)
@@ -427,7 +427,8 @@ static bool radeon_legacy_tmds_int_mode_fixup(struct drm_encoder *encoder,
                                              struct drm_display_mode *mode,
                                              struct drm_display_mode *adjusted_mode)
 {
-
+       /* set the active encoder to connector routing */
+       radeon_encoder_set_active_device(encoder);
        drm_mode_set_crtcinfo(adjusted_mode, 0);
 
        return true;