From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH] drm/i915: Use chipset-specific irq installers Date: Tue, 28 Jun 2011 10:56:53 -0700 Message-ID: References: <1309258131-19869-1-git-send-email-chris@chris-wilson.co.uk> <20110628174857.GA3022@snipes.kumite> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0765152040==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 6706C9E880 for ; Tue, 28 Jun 2011 10:56:57 -0700 (PDT) In-Reply-To: <20110628174857.GA3022@snipes.kumite> 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: Ben Widawsky , Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0765152040== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 28 Jun 2011 10:48:57 -0700, Ben Widawsky wrote: > I'm very nitpicky when it comes to the work assert :p I pushed a much simpler patch: =2D---------------------- drivers/gpu/drm/i915/i915_gem.c -----------------= ------ index c6389de..e81dbe5 100644 @@ -2080,8 +2080,8 @@ i915_wait_request(struct intel_ring_buffer *ring, if (!ier) { DRM_ERROR("something (likely vbetool) disabled " "interrupts, re-enabling\n"); =2D i915_driver_irq_preinstall(ring->dev); =2D i915_driver_irq_postinstall(ring->dev); + ring->dev->driver->irq_preinstall(ring->dev); + ring->dev->driver->irq_postinstall(ring->dev); } =20 trace_i915_gem_request_wait_begin(ring, seqno); =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOChXmQp8BWwlsTdMRApoVAKCusRmVUU1RthZ9bWdUQyhhGWSiaACgnCpS pTc4oBi8jayiWGEKbFLrBek= =xUjB -----END PGP SIGNATURE----- --=-=-=-- --===============0765152040== 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 --===============0765152040==--