On Mon, Dec 13, 2010 at 5:27 AM, Alex Deucher <alexdeucher@xxxxxxxxx> wrote: > Seems to cause problems on certain laptops > > Fixes: > https://bugzilla.kernel.org/show_bug.cgi?id=24462 > > Signed-off-by: Alex Deucher <alexdeucher@xxxxxxxxx> Tested-by: Luca Tettamanti <kronos.it@xxxxxxxxx> > --- > Â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@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel