From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH] drm/irq: track the irq installed in drm_irq_install in dev->irq Date: Mon, 16 Dec 2013 12:17:37 +0100 Message-ID: <20131216111736.GA15379@ulmo.nvidia.com> References: <1386758111-3446-38-git-send-email-daniel.vetter@ffwll.ch> <1387189753-25122-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0142427216==" Return-path: Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 49033FAFED for ; Mon, 16 Dec 2013 03:19:03 -0800 (PST) Received: by mail-bk0-f52.google.com with SMTP id u14so2261931bkz.39 for ; Mon, 16 Dec 2013 03:19:02 -0800 (PST) In-Reply-To: <1387189753-25122-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Daniel Vetter Cc: DRI Development List-Id: dri-devel@lists.freedesktop.org --===============0142427216== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 16, 2013 at 11:29:13AM +0100, Daniel Vetter wrote: > To get rid of the dev->bus->get_irq callback we need to pass in the > desired irq explicitly into drm_irq_install. To avoid having to do the > same for drm_irq_unistall just track it internally. That leaves > drivers with less room to botch things up. >=20 > v2: Add the hunk lost in an earlier patch to this one (Thierry). >=20 > Cc: Thierry Reding > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_irq.c | 18 +++++++++++------- > include/drm/drmP.h | 2 ++ > 2 files changed, 13 insertions(+), 7 deletions(-) Reviewed-by: Thierry Reding --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSruFQAAoJEN0jrNd/PrOhDOsP/0ERC1KcjyS0ZBSfDn0hopkM uP63x5Msp07DrcPg0cdvmmuSaFDKdHr90kGpJrxBpjOFxnWJkW/ksbyDKm4mVvL7 qQuQ5y/2FTzewJUYzpNd5Fv1DqIjJBgonBwW1cH8UpkkHHz7zSyTaMAIJYSRC1EV G7WWHQm0IpzSRDrDaLs7sLVLxbGUGRndu83Lea2/y3cSbugGN6PteZHXu1n8rFGM GS5Npfxb+9UrUo+PtSK/gav0iEdWPVD5Jnup1o78kNHs9tczXopz/j8xKEZzn1WK UMODAPmooaKjbJagpWX0zd8lWE8y4awtYLMeq3unq2fmqgZLfh7/mr7iKSJ5Fdjc LmH7gOewn93oEwBm+/xHjTDfPwOKxHR4peXgqOPs2ufB+stKzuUOFfmzxw5Uo684 U19EyZVB/lbaBDSykLb35VwAOn++1wnLFrqkJgL1SRnsDWuLnDgkkc4WTmIO3D3m ZG2TvvPkk8QGtJWAe7uThiiPbAvZKGFi/U54usPgqVrcqzu2gH/qlAaJ7z+Wgi+X fxnrbAdW7KzZBq7Ou3s75WXzpXPKGp3bAiLfN9G4sBH3V8n9dcQdiCNZDfRnSfhm 1e77F+Sizq8s1q9Is/bzd2oxZw06eSfHw02zBufw9Y4mSo4a3EcTO9SWOF0BaqCF RHrmPUNL3VCJaI+XCQoG =PVbG -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- --===============0142427216== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0142427216==--