From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH] drm: Aggressively disable vblanks Date: Mon, 20 Dec 2010 19:23:40 -0800 Message-ID: References: <372cb262d2d49bd796fa6636d04d431b50a14f69.1292869603.git.luto@mit.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0637518142==" Return-path: In-Reply-To: <372cb262d2d49bd796fa6636d04d431b50a14f69.1292869603.git.luto@mit.edu> 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: Andy Lutomirski , Jesse Barnes , Chris Wilson , David Airlie Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0637518142== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 20 Dec 2010 14:00:54 -0500, Andy Lutomirski wrote: > Enabling and disabling the vblank interrupt (on devices that > support it) is cheap. So disable it quickly after each > interrupt. So, the concern (and reason for the original design) was that you might lose count of vblank interrupts as vblanks are counted differently while off than while on. If vblank interrupts get enabled near the interrupt time, is it possible that you'll end up off by one somehow? Leaving them enabled for 'a while' was supposed to reduce the impact of this potential error. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNEB28Qp8BWwlsTdMRAsXNAJ9BQTAXys9fo7dhsXYcLoB/Ldk5kACgn/yp aNj8KO39D8ZOAoVPIhIiCYU= =/AUw -----END PGP SIGNATURE----- --=-=-=-- --===============0637518142== 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 --===============0637518142==--