From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: CDF meeting @FOSDEM report Date: Thu, 14 Feb 2013 11:35:46 +0200 Message-ID: <511CAFF2.6030808@ti.com> References: <1990856.qS9uisuiVF@avalon> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1296889239==" Return-path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B5F3E68ED for ; Thu, 14 Feb 2013 01:36:07 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: =?ISO-8859-1?Q?St=E9phane_Marchesin?= Cc: linux-fbdev@vger.kernel.org, Sebastien Guiriec , dri-devel@lists.freedesktop.org, Jesse Barnes , Laurent Pinchart , Benjamin Gaignard , Sumit Semwal , Tom Gall , Kyungmin Park , linux-media@vger.kernel.org, Stephen Warren , Mark Zhang , linaro-mm-sig@lists.linaro.org, Alexandre Courbot , Ragesh Radhakrishnan , Thomas Petazzoni , Sunil Joshi , Maxime Ripard , Vikas Sajjan List-Id: dri-devel@lists.freedesktop.org --===============1296889239== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig73AB5F27B15DD122EA991122" --------------enig73AB5F27B15DD122EA991122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-02-13 00:45, St=E9phane Marchesin wrote: > So, a part which is completely omitted in this thread is how to handle > suspend/resume ordering. If you have multiple encoders which need to > be turned on/off in a given order at suspend/resume, how do you handle > that given the current scheme where they are just separate platform > drivers in drivers/video? >=20 > This problems occurs with drm/exynos in current 3.8 kernels for > example. On that platform, the DP driver and the FIMD driver will > suspend/resume in random order, and therefore fail resuming half the > time. Is there something which could be done in CDF to address that? I don't think we have a perfect solution for this, but I think we can handle this by using PM notifiers, PM_SUSPEND_PREPARE and PM_POST_SUSPEND= =2E The code that manages the whole chain should register to those notifiers, and disable or enable the display devices accordingly. This way the devices are enabled and disabled in the right order, and also (hopefully) so that the control busses are operational. Tomi --------------enig73AB5F27B15DD122EA991122 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.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBAgAGBQJRHK/yAAoJEPo9qoy8lh71YF0P/jcQniX9uYiutSs7GO4w44KJ gUGao9A30jmbh/SlZu5JNC+NM8PJsNZo5N2Px9VV8zABSmwkl5VZHt9WDHjoiTxa CFq5+z8UB6UarFBQO9r/ivHiRZsp2w8TDYE3P4ve6tLQwnfcHhCmHS/3G3L4Otrp 4sOFdyn60yAgT6E5+ayq4NiKVO62FdLc8+6ygHReNo1glHsDsDhLJ/CyuL+CsIZZ Hkx5L5gelZxvYhJ4YU1yUPEaOtrUt/vW6IPlmBE8QDa1B92B4N3aHWF/0zTQvwUf zNVICMClIntp1CoLx8S+uNk039yGf9z+vVGyEwl9i25bzi7JC5M6vTMnqh0kbXr0 Cbf4GqiaQBNkqmMWdUkNcAqAcgNxPRSsKDT4DletQlbZuKweMU/o7Mx9mYrAwMtg GE7NsvngEHo6zWsCWXUrCJfNQOEodYNvOVgDvA7znxD+t0v1XEuu4Xr68q0SxFiE W6JZdQvEG7bL15ef+QXGjXGWbx5vL3nQdZbK38rUwWLjx+DkkU3fwnW10+oD/j65 HtBxVonaC6/hSDWWiKX8wE+LQ0l6SIjobMv2IPsDuHviKJHP1LYzR21NsUMdZrCi rQxtvQ7KLgHLDs15SlcgOVHOJIN503PA66x6GjN1YCS1F39KT1A0jPKyaOM35ZIN uNMyvrRh4U9bC3XrhNIz =F8xt -----END PGP SIGNATURE----- --------------enig73AB5F27B15DD122EA991122-- --===============1296889239== 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 --===============1296889239==--