From patchwork Mon Feb 21 06:11:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 576901 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 p1L6CsDO020754 for ; Mon, 21 Feb 2011 06:13:15 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CEC479EA09 for ; Sun, 20 Feb 2011 22:12:54 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vx0-f177.google.com (mail-vx0-f177.google.com [209.85.220.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 49A9D9E9B1 for ; Sun, 20 Feb 2011 22:12:13 -0800 (PST) Received: by vxg33 with SMTP id 33so1667845vxg.36 for ; Sun, 20 Feb 2011 22:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=Klr3393KFC62VeUtBoYG80BkO7hX3eL9se4lbyC/o90=; b=FlLmk6PpcFxQNxBw13t6qFryUGdgXdcmx5z7BYDULkyzhvtl6vHwPWj0Lk4+riiETc UJaNvrQNakeu1c+7qviqGs2cJs4fkKzDaL854MfdGPCtkUk4STwsjYuE6U3LoqEmPHq+ U25i0eKoAU5QnX8Zv6VxHs4W4CPDpNA7GNUfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=aSJonrm0Bh2oIGSRWnBr6gB/aYuAimWSP54cVTukmzfFOmgcuK2XcbkbsVUAtpnDkW eF2/Me+BYBTjsUgNnbVWUEMqYVrZBp4TD7jlHnX4gicXiASR2L2JwNei8kmYCIOrii9v +rhz7Q4bCMjMXuX8zPSBPIYBsZeTh3fwWhqH4= Received: by 10.52.164.103 with SMTP id yp7mr1243286vdb.10.1298268732369; Sun, 20 Feb 2011 22:12:12 -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 m10sm1106128vcs.32.2011.02.20.22.12.10 (version=SSLv3 cipher=OTHER); Sun, 20 Feb 2011 22:12:11 -0800 (PST) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] Revert "drm/radeon/kms: switch back to min->max pll post divider iteration" Date: Mon, 21 Feb 2011 01:11:59 -0500 Message-Id: <1298268719-12262-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 Cc: stable@kernel.org 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.6 (demeter1.kernel.org [140.211.167.41]); Mon, 21 Feb 2011 06:13:15 +0000 (UTC) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 0e65709..3e7e7f9 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -971,7 +971,7 @@ void radeon_compute_pll_legacy(struct radeon_pll *pll, max_fractional_feed_div = pll->max_frac_feedback_div; } - for (post_div = min_post_div; post_div <= max_post_div; ++post_div) { + for (post_div = max_post_div; post_div >= min_post_div; --post_div) { uint32_t ref_div; if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1))