From: Paul Menzel Subject: Re: [PATCH 2/2] drm/i915: add Ivy Bridge page flip support Date: Thu, 16 Jun 2011 23:20:51 +0200 Message-ID: <1308259251.4251.40.camel@mattotaupa> References: <1308241154-6830-1-git-send-email-jbarnes@virtuousgeek.org> <1308241154-6830-3-git-send-email-jbarnes@virtuousgeek.org> <20110616185450.GB5051@bwgnt.jf.intel.com> <20110616121854.02611ef5@jbarnes-desktop> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0760192953==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 8CFBA9E75C for ; Thu, 16 Jun 2011 14:20:54 -0700 (PDT) Received: from f053038083.adsl.alicedsl.de ([78.53.38.83] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QXK0n-0001sq-Su for intel-gfx@lists.freedesktop.org; Thu, 16 Jun 2011 21:22:02 +0000 In-Reply-To: <20110616121854.02611ef5@jbarnes-desktop> 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0760192953== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+RgSbQ+BKVHr8BIOzuml" --=-+RgSbQ+BKVHr8BIOzuml Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, den 16.06.2011, 12:18 -0700 schrieb Jesse Barnes: > Updated with comment. >=20 > --=20 > Jesse Barnes, Intel Open Source Technology Center >=20 > >From 41bdb7457beb023faa0d465f483ab793ba8896e1 Mon Sep 17 00:00:00 2001 > From: Jesse Barnes > Date: Tue, 14 Jun 2011 11:08:03 -0700 > Subject: [PATCH] drm/i915: add Ivy Bridge page flip support >=20 > Use the blit ring for submitting flips since the render ring doesn't > generate flip complete interrupts. >=20 > Signed-off-by: Jesse Barnes > --- > drivers/gpu/drm/i915/intel_display.c | 36 ++++++++++++++++++++++++++++= ++++++ > 1 files changed, 36 insertions(+), 0 deletions(-) >=20 > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/= intel_display.c > index 37e74e9..9446f4e 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -6412,6 +6412,39 @@ out: > return ret; > } > =20 > +/* > + * On gen7 we currently use the blit ring because (in early silicon at l= east) > + * the render ring doesn't give us interrpts for page flip completion, w= hich inter*u*pts > + * means clients will hang after the first flip is queued. Fortunately = the > + * blit ring generates interrupts properly, so use it instead. > + */ [=E2=80=A6] Thanks, Paul --=-+RgSbQ+BKVHr8BIOzuml Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk36c7MACgkQPX1aK2wOHVizuQCbBj9V0HMpMJgzTjKej+6+9wfW TxcAniGwsxkqhNcKsO3lG5SdQf2PROP+ =B4VD -----END PGP SIGNATURE----- --=-+RgSbQ+BKVHr8BIOzuml-- --===============0760192953== 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 --===============0760192953==--