From: Tomi Valkeinen Subject: Re: [PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs Date: Mon, 24 Apr 2017 12:59:50 +0300 Message-ID: <39b69020-b8d5-0196-df9e-9a0b35932a3c@ti.com> References: <20170415091632.7285-1-laurent.pinchart@ideasonboard.com> <20170415091632.7285-2-laurent.pinchart@ideasonboard.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0240537276==" Return-path: Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8594C89213 for ; Mon, 24 Apr 2017 09:59:55 +0000 (UTC) In-Reply-To: <20170415091632.7285-2-laurent.pinchart@ideasonboard.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Laurent Pinchart , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0240537276== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="M7wGXwijSwOsPWsG2m4ov6KKta6PWcPoA" --M7wGXwijSwOsPWsG2m4ov6KKta6PWcPoA Content-Type: multipart/mixed; boundary="8tIcTK37LWPlmOeU4jbL16E1wK1UBjS1u"; protected-headers="v1" From: Tomi Valkeinen To: Laurent Pinchart , dri-devel@lists.freedesktop.org Message-ID: <39b69020-b8d5-0196-df9e-9a0b35932a3c@ti.com> Subject: Re: [PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs References: <20170415091632.7285-1-laurent.pinchart@ideasonboard.com> <20170415091632.7285-2-laurent.pinchart@ideasonboard.com> In-Reply-To: <20170415091632.7285-2-laurent.pinchart@ideasonboard.com> --8tIcTK37LWPlmOeU4jbL16E1wK1UBjS1u Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 15/04/17 12:16, Laurent Pinchart wrote: > The driver currently handles vblank events only when updating planes on= > an already enabled CRTC. The atomic update API however allows requestin= g > an event when enabling or disabling a CRTC. This currently leads to > event objects being leaked in the kernel and to events not being sent > out. Fix it. >=20 > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/omapdrm/omap_crtc.c | 30 ++++++++++++++++++++++-------= - > 1 file changed, 22 insertions(+), 8 deletions(-) Reviewed-by: Tomi Valkeinen Tomi --8tIcTK37LWPlmOeU4jbL16E1wK1UBjS1u-- --M7wGXwijSwOsPWsG2m4ov6KKta6PWcPoA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJY/cyWAAoJEPo9qoy8lh7197kP/ipz68gxkxDjHJ2r4es8ZZpb EyNqzVMsUvjahaP9ItPqfxUocMZ1vkdRqT/4xKXyQxVSYf5bQLtzTUeb6Kj+syE4 W3r1Mre+ntu5d9ckwB5/Rfo6IZpdqLvEJKvevPMMf6Bw+/eziC7gUlGQpsDIVSYM QC1ZObwMPznwUuE57iu6okvrCozMvC1Usd7tnHVJkQFJvDrO/GvTP0LdNEB6p62b 7IVsRIzoODVfWZUZKCGSNYwXORKLhVpGSl8z94eiDFpuU2G+r/FRLZG/dKLXqmdr skSMovPbuXNkjUD9xnssZi+4mPcixIUwB6ajGluARJlV9y7phIx+l4N73dDOcvre MOEdrBsX6H+dmPAVwB/qMb3nXZz/BKVVrQdi5hU23EPd+z9M1Ve2b2piMKhNo7ns Dw1QY2UBfgjFVVj/AHHTm9Z86o7r4uuv+0MGPX8HNnHuGALvsBCxHLw09VSoPM81 /KDOQyplS2pf5s7ZUncgyZxldoitx4IOr9IZ5hYer9VtgiFH3IjawNq77IqKNwLJ UpS7pjvoBzYmq/lXZDFc7YjQh7N7a8ijOK2uhRxgO/kdLQ8Rn0u7P/VaB9CQ4iYx vHIdLNM62ftqxrcB2qrdoEFtnOepfjNWOMEFLBLHXgXttwU3SJeGslv79sZ9pJR1 v8t6NAD3cZofVXmTI/4u =8e8Z -----END PGP SIGNATURE----- --M7wGXwijSwOsPWsG2m4ov6KKta6PWcPoA-- --===============0240537276== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0240537276==--