From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932910AbcITPqL (ORCPT ); Tue, 20 Sep 2016 11:46:11 -0400 Received: from down.free-electrons.com ([37.187.137.238]:38718 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932741AbcITPqJ (ORCPT ); Tue, 20 Sep 2016 11:46:09 -0400 Date: Tue, 20 Sep 2016 09:19:48 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] drm/sun4i: dotclock: Round to closest clock rate Message-ID: <20160920071948.GB8719@lukather> References: <20160915151402.15992-1-wens@csie.org> <20160915151402.15992-5-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PjJPTMFqUKxQUast" Content-Disposition: inline In-Reply-To: <20160915151402.15992-5-wens@csie.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PjJPTMFqUKxQUast Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 15, 2016 at 11:14:02PM +0800, Chen-Yu Tsai wrote: > With display pixel clocks we want to have the closest possible clock > rate, to minimize timing and refresh rate skews. Whether the actual > clock rate is higher or lower than the requested rate is less important. >=20 > Also check candidates against the requested rate, rather than the > ideal parent rate, the varying dividers also influence the difference > between the requested rate and the rounded rate. >=20 > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --PjJPTMFqUKxQUast Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX4OMTAAoJEBx+YmzsjxAg6T4P/0aub48w2eGneE7uJAd7rRCX 8Z+0hXKxhQm/ZW6+Y2jmBSOMFa7m3dscZKE/lG7dhOmmwywLksdhJyUxNFubTvCQ nd/LOxjcy1vWPaFc8BdYz7kpej9fMeNTl8KU5PEb1M1udwlN5lxNE1DBuq1x9de6 ZBYMvv4M4NwLQaqi3x6hoRrNBhkbxnduaEHRfrL3l1XO5Cz5nuSRR+bQIiAlAeay cGMxnevoXKYLq6VtEng1jjFBIbOtHbBVwsuM3/wlT4i1NCwQcomL96lznd4Odtgf VlnQ/CSWFMx+9bQh0zLcYjaoqSAQHatFDUWWyCWOu9+qLwVpLZTSc2rkl57Cs6rL QW1+neuYjC6d9V1sHPqtKKsyGikUh4Y3DRrZJYNAd8yvNWlsFEj/xrMOvxWQKQil 4TEoN2KCalu2dOb1mwAhcIAKucyd86RYDewx8eXBHSsxjT/XfeyQ7PmUmaN9vEnO QYONTph8z1JYY3w2cL123+s7EAYgwtNH9lh7tENn0kk1ErKwaLL3GKltYuP0ZgMd FCcozRsyCDrtJbkuwv7MaGjkD4ptPGXTzmRYJzuKK5By6+4o3TeuPwq7guqUvjOy j01s4wJC/rrLjCTZjUZiJFw4CnLT7CJdx6zOkcvXTbYU52OKcZkfc8WQ3AGNrH+M I9qfNzNKJn6LoOsUXNaX =0Wj0 -----END PGP SIGNATURE----- --PjJPTMFqUKxQUast--