From: Eric Anholt Subject: Re: [PATCH 1/2] drm/i915: Kill i915_gem_execbuffer_wait_for_flips() Date: Wed, 31 Oct 2012 17:18:47 -0700 Message-ID: <87d2zy89aw.fsf@eliezer.anholt.net> References: <1351705121-17627-1-git-send-email-ville.syrjala@linux.intel.com> <1351705121-17627-2-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1778478931==" Return-path: In-Reply-To: <1351705121-17627-2-git-send-email-ville.syrjala@linux.intel.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: ville.syrjala@linux.intel.com, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1778478931== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ville.syrjala@linux.intel.com writes: > From: Ville Syrj=C3=A4l=C3=A4 > > As per Chris Wilson's suggestion make > i915_gem_execbuffer_wait_for_flips() go away. > > This was used to stall the GPU ring while there are pending > page flips involving the relevant BO. Ie. while the BO is still > being scanned out by the display controller. > > The recommended alternative is to use the page flip events to > wait for the page flips to fully complete before reusing the BO > of the old front buffer. Or use more buffers. So, after this change, if userland submits an execbuf between having requested a pageflip and the vblank that the flip shows up on, does that exec block? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlCRv+cACgkQHUdvYGzw6vebwgCfeZXVrKlo0mz+UNNwFFKh/zpr kNgAn24rvhG2iD4hIlVptDKzYy79n1y5 =nqnN -----END PGP SIGNATURE----- --=-=-=-- --===============1778478931== 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 --===============1778478931==--