From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCHv4 5/6] drm/omap: add framedone interrupt support Date: Sat, 17 Nov 2018 22:08:40 +0100 Message-ID: <20181117210840.GE22813@amd> References: <20181115230645.15748-1-sebastian.reichel@collabora.com> <20181115230645.15748-6-sebastian.reichel@collabora.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0416544342==" Return-path: In-Reply-To: <20181115230645.15748-6-sebastian.reichel@collabora.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Sebastian Reichel Cc: kernel@collabora.com, Tony Lindgren , "H. Nikolaus Schaller" , Sebastian Reichel , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tomi Valkeinen , Laurent Pinchart , linux-omap@vger.kernel.org List-Id: linux-omap@vger.kernel.org --===============0416544342== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M/SuVGWktc5uNpra" Content-Disposition: inline --M/SuVGWktc5uNpra Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This prepares framedone interrupt handling for > manual display update support. >=20 > Signed-off-by: Sebastian Reichel Acked-by: Pavel Machek > @@ -217,6 +239,9 @@ static irqreturn_t omap_irq_handler(int irq, void *ar= g) > =20 > if (irqstatus & priv->dispc_ops->mgr_get_sync_lost_irq(priv->dispc, ch= annel)) > omap_crtc_error_irq(crtc, irqstatus); > + > + if (irqstatus & priv->dispc_ops->mgr_get_framedone_irq(priv->dispc, ch= annel)) > + omap_crtc_framedone_irq(crtc, irqstatus); > } > =20 > omap_irq_ocp_error_handler(dev, irqstatus); Will the mgr_get_framedone_irq(priv->dispc, channel) change from interrupt to interrupt? Would it make sense to cache result as a micro-organization? Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --M/SuVGWktc5uNpra Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvwg1gACgkQMOfwapXb+vLFpQCeNilH3N4aHSKuC7+SOdkSpzsJ o1wAn1tveKkDFp0iguGX+u4YNlK19vmx =HLOK -----END PGP SIGNATURE----- --M/SuVGWktc5uNpra-- --===============0416544342== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0416544342==--