From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcus Lorentzon Subject: Re: CDF meeting @FOSDEM report Date: Wed, 13 Feb 2013 10:25:14 +0100 Message-ID: <511B5BFA.4050005@stericsson.com> References: <1990856.qS9uisuiVF@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eu1sys200aog114.obsmtp.com (eu1sys200aog114.obsmtp.com [207.126.144.137]) by gabe.freedesktop.org (Postfix) with ESMTP id 34CE4E5D50 for ; Wed, 13 Feb 2013 01:25:46 -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 , Tomi Valkeinen , "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 List-Id: dri-devel@lists.freedesktop.org On 02/12/2013 11:45 PM, St=E9phane Marchesin wrote: >> - Do we need to support chaining several encoders ? We can come up with >> > several theoretical use cases, some of them probably exist in real ha= rdware, >> > but the details are still a bit fuzzy. > 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? > > 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? My idea here is two parts. First hide the chaining within the CDF = driver. So it is always the first CDF driver that is responsible for the = rest of the chain. Second, I'm looking at using the dev->parent and bus = relationchip to describe this dependency. Then power usually works out = fine, since children could be forced to be suspended before parent = ("bus" host). /BR /Marcus