From patchwork Mon Dec 13 04:27:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 404222 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBD4Rlri011070 for ; Mon, 13 Dec 2010 04:28:08 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 749EF9E8BA for ; Sun, 12 Dec 2010 20:27:47 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vw0-f49.google.com (mail-vw0-f49.google.com [209.85.212.49]) by gabe.freedesktop.org (Postfix) with ESMTP id DBFD39E76D for ; Sun, 12 Dec 2010 20:27:36 -0800 (PST) Received: by vws5 with SMTP id 5so3216501vws.36 for ; Sun, 12 Dec 2010 20:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=k2nzXkmvbxXWWgqoB8vAb2spgE4y1xrqbwU+P08gS8k=; b=I26rF7aIHGzbRXFRb1dhbaSVKuU9S06uTPHlPiWgG9MJxK9ghfqHgFV02bikY8TbYv fEJySMeNuaC3GJOyNjgzjeJHTnOCRpXy180GUSQhayGEU6spzC6GXTIKOtUw2M76Mt4u oISMc1HOItW8x1UVxTzL0kO+nTMPxoIaZGd2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=tGXxxwnbTXRljxB8ytgCglNVpDcvyZs8pZvNUqa6qAyoT7rF54FjIdli/l+R1C7t1F RiuKf9jgM5HiL1ggkyWHyO9WE4rP0Sr0aU70loWJ/nQ9ZUBgNk0T2Shy3AYvGLLUeP7m VJ0d+8WKcwePaGAoS3cCjxMx3PWD+FGL5mQUs= Received: by 10.220.188.74 with SMTP id cz10mr1142536vcb.118.1292214454060; Sun, 12 Dec 2010 20:27:34 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-7.washdc.fios.verizon.net [74.96.105.7]) by mx.google.com with ESMTPS id f17sm2235405vbv.16.2010.12.12.20.27.32 (version=SSLv3 cipher=RC4-MD5); Sun, 12 Dec 2010 20:27:33 -0800 (PST) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/kms: disable ss fixed ref divide Date: Sun, 12 Dec 2010 23:27:23 -0500 Message-Id: <1292214443-8465-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Dec 2010 04:28:09 +0000 (UTC) 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)