From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: [PATCH 7/9] drm/omap: fix omap_crtc_flush() to handle the workqueue Date: Tue, 9 Sep 2014 13:54:25 +0300 Message-ID: <540EDC61.8010203@ti.com> References: <1409745310-19092-1-git-send-email-tomi.valkeinen@ti.com> <1409745310-19092-7-git-send-email-tomi.valkeinen@ti.com> <20140903142750.GT15520@phenom.ffwll.local> <540DA916.8030601@ti.com> <20140908133139.GZ15520@phenom.ffwll.local> <540EA742.3080109@ti.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0192709206==" Return-path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 72A1B6E278 for ; Tue, 9 Sep 2014 03:54:31 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Rob Clark Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org --===============0192709206== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8JpuegGDlCJdDmm6EkAAXD4mbgw5Edpcg" --8JpuegGDlCJdDmm6EkAAXD4mbgw5Edpcg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/09/14 13:43, Rob Clark wrote: > Although, I wonder if some waitqueue scheme would be a bit more sane.. > ie. end of apply_worker, if there is nothing more queued up, signal > the event that _flush() is waiting on. Maybe, but we would still need either the separate apply_lock, or unlock the crtc->mutex to allow the workqueue to run. Tomi --8JpuegGDlCJdDmm6EkAAXD4mbgw5Edpcg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUDtxhAAoJEPo9qoy8lh71mkoQAJzQ0srG/j+Oozp47KPpo6m5 DKQcNHl8ujke8FDV0qDRgpGSdfKXi9TR9ZewZXhzg6CJErzd6jaxCgmYyU25tQs/ 7CYpoXwRGn0nxyGoOGsBFUwUex9E2LXcVd1mD2rpzTsz8VjYC47jO8xDvcd/Rbfg ZcaV2Pla3j0sq5q3Ek3Hpmi2hiFR4c23FBxvS98leHXR0YVYUE7JEjr2/Kp1vgmz 43akeFtFwfxOFWE4EhBMMkwmpswPIwSnrFcjpMtLUVk4LPnS+iPiJyu66kuGS3Bu DiJSxZKHMmF3mMPafmsaIyM110lURbYjgYKEqCSJDZ6fBYBsLG3e61dB/jjSxTXc cvBnTs/Bhgi1dyuZlMUgXUDh22PkGlmWLfAWa3EAUrlPfYFSlwWwRBB5PtnpKkGN I7k2zC4arjAiYzPVpHvmTt06qbQ8G4S//CkEq/Ed9SsrlQLU45Rk/+DZ5FPTb9eN 1Hx74GFeJGe1OhHxT4Gq48bSfDVPqD7dfnfkxjXBRdMPh4IEli8ux7wjeiPu3463 IdV7i2OelLpbb7MNSsMyEirbpDc3saYyrO/umUuyitvwmEtG9cn2jvmkxQwbBonk GuVEN0DlH1AcgNuhDyWBiuf50a3R9taNt9oTQX5Z77rkKW4CJKXmNaUAMwEDpavd i++3unAv9Q2lM6MWmuk1 =Ajvd -----END PGP SIGNATURE----- --8JpuegGDlCJdDmm6EkAAXD4mbgw5Edpcg-- --===============0192709206== 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 --===============0192709206==--