drm/radeon: Use dce5/6 hdmi deep color clock setup also on dce8+
authorMario Kleiner <mario.kleiner.de@gmail.com>
Sun, 15 Jun 2014 18:36:29 +0000 (20:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2014 20:30:46 +0000 (16:30 -0400)
Need to use the adjusted clock on dce8 as well.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=80029

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_crtc.c

index 9758f9170fce8618c3c51bff6081a0744fa6e104..a03c73411a56ab3131871151f41dd625021e013f 100644 (file)
@@ -1052,7 +1052,7 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
        int encoder_mode = atombios_get_encoder_mode(radeon_crtc->encoder);
 
        /* pass the actual clock to atombios_crtc_program_pll for DCE5,6 for HDMI */
-       if (ASIC_IS_DCE5(rdev) && !ASIC_IS_DCE8(rdev) &&
+       if (ASIC_IS_DCE5(rdev) &&
            (encoder_mode == ATOM_ENCODER_MODE_HDMI) &&
            (radeon_crtc->bpc > 8))
                clock = radeon_crtc->adjusted_clock;