Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752442AbdGFSWr (ORCPT ); Thu, 6 Jul 2017 14:22:47 -0400 Received: from home.keithp.com ([63.227.221.253]:53525 "EHLO elaine.keithp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751797AbdGFSWq (ORCPT ); Thu, 6 Jul 2017 14:22:46 -0400 From: Keith Packard To: Ville =?utf-8?B?U3lyasOkbMOk?= Cc: Daniel Vetter , Linux Kernel Mailing List , Dave Airlie , dri-devel Subject: Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls In-Reply-To: <20170706175940.GA12629@intel.com> References: <20170705221013.27940-1-keithp@keithp.com> <20170705221013.27940-4-keithp@keithp.com> <20170706075313.bn2exiklfabgc25t@phenom.ffwll.local> <20170706101604.GY12629@intel.com> <20170706140805.GZ12629@intel.com> <86tw2pbkcn.fsf@keithp.com> <20170706175940.GA12629@intel.com> Date: Thu, 06 Jul 2017 11:22:43 -0700 Message-ID: <86fue9bf2k.fsf@keithp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1438 Lines: 37 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ville Syrj=C3=A4l=C3=A4 writes: > I was mostly thinking of the 'seq =3D query(); wait(seq + n);' pattern > where we can avoid doing the full update more than once if we enable > the interrupt already during the query. Don't we still wait 5 seconds before disabling vblank? In that case, the chances of hitting an idle vblank are pretty slim if the application is actually busy. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAllef/QACgkQ2yIaaQAA ABGLsg/+JuAg0f7kAEGP/0eWSlMYrM1bls2DR5FyliVaqviqo3ulfSdouJrdNCMX UOtSEEKrLP2NjE4kqX6T1pCyp5qhpMyMhcYeY4lYdR/1AAj5fbVur9GrAHvnmWx/ mY2N3xp+HxL3IHvheQTEyhBGihjcCknsWXZB3Xn/oqNwMswAGnNNSOMUs/g/GI0d gJfexGFkpISK9qbi0aCNi+m40TJC93zE5f470csRjRo5oNtkpYKT6wfm6J+IfBI7 8S9xiuUfR7/R1hpixfsuHfi9h/uV8SLFvc4mLhiyHQ18wTQ437dX/mHHbGPX+Gbr 77C+vOEAJgMqfgseTzd7j4m0LQgM4Us4S2IU5NQrEOR+eC2Xt1p3nyYWCtYWhzhJ RBxrHvR330xCRQea5s6iJO8B4vPytcNmXvfbdN4YC/csv9JJ2TaYa4Hs6aqYXGUg NiChTxOEJVckM1+74XB8uNqzWF1pRmPm09h6TXEZBw8kojNcHRXkEf4d8nppvJFS mLQZdzoOmj8ZZdSovKMwlXdliusT84zM4aUKh2lo2tWLhXW1skNG8qRB8MXNzCzp 67zaZWAunItcbCibzj6NS9LiaHjG4BUul01oQug64Ces+jo2EJdBXeNBvvGQ6TQO L5syb+Be2YoPxIx/+m7Xlok+Lx6amr+i0TengGwn69JGqvdAKJg= =mdHp -----END PGP SIGNATURE----- --=-=-=--