Date:2010-04-09 21:31:56 (12 years 5 months ago)
Author:Alex Deucher
Commit:a1a4b23b66039c814c3d3a9a28d76d34800eadc5
Message:drm/radeon/kms: adjust pll settings for tv

May fix fdo bug 26582.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Files: drivers/gpu/drm/radeon/atombios_crtc.c (1 diff)

Change Details

drivers/gpu/drm/radeon/atombios_crtc.c
521521                /* DVO wants 2x pixel clock if the DVO chip is in 12 bit mode */
522522                if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1)
523523                    adjusted_clock = mode->clock * 2;
524                if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT)) {
525                    pll->algo = PLL_ALGO_LEGACY;
526                    pll->flags |= RADEON_PLL_PREFER_CLOSEST_LOWER;
527                }
524528            } else {
525529                if (encoder->encoder_type != DRM_MODE_ENCODER_DAC)
526530                    pll->flags |= RADEON_PLL_NO_ODD_POST_DIV;

Archive Download the corresponding diff file



interactive