From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Tue, 20 Sep 2016 09:19:48 +0200 Subject: [PATCH 4/4] drm/sun4i: dotclock: Round to closest clock rate In-Reply-To: <20160915151402.15992-5-wens@csie.org> References: <20160915151402.15992-1-wens@csie.org> <20160915151402.15992-5-wens@csie.org> Message-ID: <20160920071948.GB8719@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. > > 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. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 4/4] drm/sun4i: dotclock: Round to closest clock rate Date: Tue, 20 Sep 2016 09:19:48 +0200 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" Return-path: Content-Disposition: inline In-Reply-To: <20160915151402.15992-5-wens@csie.org> Sender: linux-kernel-owner@vger.kernel.org To: Chen-Yu Tsai Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.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--