From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH] drm/i915: blitter ring workaround for gen6 Date: Mon, 3 Oct 2011 04:38:03 +0000 Message-ID: <20111003043803.GA5236@cloud01> References: <1317605232-4569-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1353739482==" Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 498329E8F3 for ; Sun, 2 Oct 2011 21:34:22 -0700 (PDT) In-Reply-To: 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: Keith Packard Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1353739482== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 02, 2011 at 09:20:32PM -0700, Keith Packard wrote: > On Sun, 2 Oct 2011 18:27:12 -0700, Ben Widawsky wrote: >=20 > > +static void blt_ring_begin2(struct intel_ring_buffer *ring) > > +{ > > + if (!ring->private) > > + return; > > + > > + intel_ring_emit(ring, MI_LOAD_REGISTER_IMM(1)); > > + intel_ring_emit(ring, 0x2209c); > > + intel_ring_emit(ring, 0x20002); > > + intel_ring_emit(ring, MI_FLUSH_DW); > > + intel_ring_emit(ring, 0x2209c); > > + intel_ring_emit(ring, MI_LOAD_REGISTER_IMM(1)); > > + intel_ring_emit(ring, 0x2209c); > > + intel_ring_emit(ring, 0x20000); > > + intel_ring_emit(ring, MI_LOAD_REGISTER_IMM(1)); > > + intel_ring_emit(ring, 0x2209c); > > + intel_ring_emit(ring, 0x20000); > > + intel_ring_emit(ring, MI_NOOP); > > +} > > + >=20 > Surely you can provide symbolic names here. >=20 Of course. I lazily just copied the docs hoping someone would come up with = some reason not to bother going further. Assuming nobody has any complains, I'll fix it up. Ben --jRHKVT23PllUwdXP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOiTwrAAoJEL9nTIiJEj0p77YH/jCpyJ7/Lj+mpIXsty6tH1v8 dOTTVeGs3kFawKy98NHJBf6MLtLuZVk/tcp1aWpvec988d8jSOBEcwEeDAaFBjoD gyWdUgCiz6pzKJhH6wpmid4TTKYNXA+jwjts3Z/SmLJWw+kW0V7hgUKRD9qIDEfL oEaBuudETPjRPU/UoqsKuni4jynxtRzAmKxureuy84WeNsUEpGVkgK+346Dc0dWo gTfrRY1SlJNa5nRxZvNty6a0bPBNB6lYrbyQVsN0Wl0Qeu9lwWIfQAHo2e/YSbkP B7WwtUyprCLCYcL0xDe0wW7oFlsd6Bihp4N9Sv8AEJqYWtKFWEpR8W0RV3E3imo= =9uT3 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- --===============1353739482== 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 --===============1353739482==--