[PATCH] drm/radeon/kms: disable ss fixed ref divide

Luca Tettamanti kronos.it at gmail.com
Mon Dec 13 03:10:21 PST 2010


On Mon, Dec 13, 2010 at 5:27 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
> Seems to cause problems on certain laptops
>
> Fixes:
> https://bugzilla.kernel.org/show_bug.cgi?id=24462
>
> Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
Tested-by: Luca Tettamanti <kronos.it at gmail.com>

> ---
>  drivers/gpu/drm/radeon/atombios_crtc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
> index 4d2eb92..6a4f090 100644
> --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> @@ -554,7 +554,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
>                                        dp_clock = dig_connector->dp_clock;
>                                }
>                        }
> -
> +#if 0 /* doesn't work properly on some laptops */
>                        /* use recommended ref_div for ss */
>                        if (radeon_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
>                                if (ss_enabled) {
> @@ -564,7 +564,7 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
>                                        }
>                                }
>                        }
> -
> +#endif
>                        if (ASIC_IS_AVIVO(rdev)) {
>                                /* DVO wants 2x pixel clock if the DVO chip is in 12 bit mode */
>                                if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1)
> --
> 1.7.1.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>


More information about the dri-devel mailing list