From: Eric Anholt Subject: Re: [PATCH] drm/i915: Make G4X-style PLL search more permissive Date: Mon, 26 Jul 2010 10:54:58 -0700 Message-ID: <878w4yxh59.fsf@pollan.anholt.net> References: <1278103410-24674-1-git-send-email-ajax@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0389444736==" Return-path: In-Reply-To: <1278103410-24674-1-git-send-email-ajax@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Adam Jackson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0389444736== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Fri, 2 Jul 2010 16:43:30 -0400, Adam Jackson wrote: > Fixes an Ironlake laptop with a 68.940MHz 1280x800 panel and 120MHz SSC > reference clock. >=20 > More generally, the 0.488% tolerance used before is just too tight to > reliably find a PLL setting. I extracted the search algorithm and > modified it to find the dot clocks with maximum error over the valid > range for the given output type: >=20 > http://people.freedesktop.org/~ajax/intel_g4x_find_best_pll.c >=20 > This gave: >=20 > Worst dotclock for Ironlake DAC refclk is 350000kHz (error 0.00571) > Worst dotclock for Ironlake SL-LVDS refclk is 102321kHz (error 0.00524) > Worst dotclock for Ironlake DL-LVDS refclk is 219642kHz (error 0.00488) > Worst dotclock for Ironlake SL-LVDS SSC refclk is 84374kHz (error 0.00529) > Worst dotclock for Ironlake DL-LVDS SSC refclk is 183035kHz (error 0.0048= 8) > Worst dotclock for G4X SDVO refclk is 50000kHz (error 0.17332) > Worst dotclock for G4X HDMI refclk is 334400kHz (error 0.00478) > Worst dotclock for G4X SL-LVDS refclk is 95571kHz (error 0.00449) > Worst dotclock for G4X DL-LVDS refclk is 224000kHz (error 0.00510) Applied to for-linus (with fixed commit msg for g4x sdvo). --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxNy/IACgkQHUdvYGzw6vd7wgCdFSsXlpIeEsqFo8mKInAB6C72 83AAn04DrUaOYyZ26g9NoPug3sjbo0rn =BEO0 -----END PGP SIGNATURE----- --=-=-=-- --===============0389444736== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0389444736==--