From: Konstantin Belousov Subject: Recent changes Date: Tue, 28 Jun 2011 12:36:04 +0300 Message-ID: <20110628093604.GG48734@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0677540206==" Return-path: Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by gabe.freedesktop.org (Postfix) with ESMTP id 812A69E843 for ; Tue, 28 Jun 2011 02:59:42 -0700 (PDT) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p5S9a50Q009618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jun 2011 12:36:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p5S9a5uH034264 for ; Tue, 28 Jun 2011 12:36:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p5S9a4e9034263 for Intel-gfx@lists.freedesktop.org; Tue, 28 Jun 2011 12:36:04 +0300 (EEST) (envelope-from kostikbel@gmail.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: Intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============0677540206== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wUE+lP1PxHYJPuXa" Content-Disposition: inline --wUE+lP1PxHYJPuXa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have two questions about recent changes made to the kernel driver: 1. Looking at the intel_setup_overlay() after the commit ecbec53b1d00ba582f71b210ed96cafc05ebd189, it seems there is potential double unlock for the struct_mutex in the (unlikely) case when intel_overlay_map_regs() failed. 2. In i915_wait_request(), after the commit 4697995b98417c6da9ab2708a36f5e2bc926c8ac, shouldn't the calls i915_driver_irq_preinstall(ring->dev); i915_driver_irq_postinstall(ring->dev); be replaced with ring->dev->driver->irq_preinstall(ring->dev); ring->dev->driver->irq_postinstall(ring->dev); ? --wUE+lP1PxHYJPuXa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4JoIQACgkQC3+MBN1Mb4j4UgCeMMkiYVjYDToxPfNo9Kal+hxo gr4An1Nk7sEurMJSCuI2uK9OP4cUsJya =IriQ -----END PGP SIGNATURE----- --wUE+lP1PxHYJPuXa-- --===============0677540206== 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 --===============0677540206==--