From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [RFC 0/4] drm: add raw monotonic timestamp support Date: Fri, 05 Oct 2012 16:07:09 -0700 Message-ID: <87ehlcmsbm.fsf@eliezer.anholt.net> References: <1349444222-22274-1-git-send-email-imre.deak@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2113580014==" Return-path: In-Reply-To: <1349444222-22274-1-git-send-email-imre.deak@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Imre Deak , Daniel Vetter , Chris Wilson , Kristian =?utf-8?Q?H=C3=B8gsberg?= Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============2113580014== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable Imre Deak writes: > This is needed to make applications depending on vblank/page flip > timestamps independent of time ajdustments. > > I've tested these with an updated intel-gpu-test/flip_test and will send > the update for that once there's no objection about this patchset. > > The patchset is based on danvet's dinq branch with the following > additional patches from the intel-gfx ML applied:=20 > drm/i915: paper over a pipe-enable vs pageflip race > drm/i915: don't frob the vblank ts in finish_page_flip > drm/i915: call drm_handle_vblank before finish_page_flip While people are in pageflip code: It would be really, really cool for application tracing if we could get timestamps out of our swaps that used the TIMESTAMP register that is the timer used for event tracing on the GPU using GL_ARB_timer_query. Then you could get decent visualizations of the latency of your rendering. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlBvaB4ACgkQHUdvYGzw6vcLxwCgjpEJzOId++Kgp0Zju8bUsiwy X0YAn2lSzU7HySoLZdIBafyXyDwa4TPS =xzIE -----END PGP SIGNATURE----- --=-=-=-- --===============2113580014== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2113580014==--