From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.nokia.com ([147.243.1.48]:23054 "EHLO mgw-sa02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714Ab1IMGsd (ORCPT ); Tue, 13 Sep 2011 02:48:33 -0400 Message-ID: <4E6EFCFC.5030803@iki.fi> Date: Tue, 13 Sep 2011 09:49:32 +0300 From: Sakari Ailus MIME-Version: 1.0 To: anish singh CC: Enrico , linux-media@vger.kernel.org, t-kristo@ti.com Subject: Re: omap3isp as a wakeup source References: <20110912202822.GB1845@valkosipuli.localdomain> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: anish singh wrote: > On Tue, Sep 13, 2011 at 1:58 AM, Sakari Ailus wrote: >> On Mon, Sep 12, 2011 at 04:50:42PM +0200, Enrico wrote: >>> Hi, >> >> Hi Enrico, >> >>> While testing omap3isp+tvp5150 with latest Deepthy bt656 patches >>> (kernel 3.1rc4) i noticed that yavta hangs very often when grabbing >>> or, if not hanged, it grabs at max ~10fps. >>> >>> Then i noticed that tapping on the (serial) console made it "unblock" >>> for some frames, so i thought it doesn't prevent the cpu to go >>> idle/sleep. Using the boot arg "nohlt" the problem disappear and it >>> grabs at a steady 25fps. >>> >>> In the code i found a comment that says the camera can't be a wakeup >>> source but the camera powerdomain is instead used to decide to not go >>> idle, so at this point i think the camera powerdomain is not enabled >>> but i don't know how/where to enable it. Any ideas? >> >> I can confirm this indeed is the case --- ISP can't wake up the system --- >> but don't know how to prevent the system from going to sleep when using the >> ISP. > Had it been on android i think wakelock would have been very useful. I believe there are proper means to do this using more standard methods as well. Not being a PM expert, I don't know how. Cc Tero. -- Sakari Ailus sakari.ailus@iki.fi