From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Subject: Re: DSS2/PM on 3.2 broken? Date: Wed, 11 Jan 2012 22:24:21 +0530 Message-ID: <4F0DBEBD.3040705@ti.com> References: <20120110080849.5a242adf@notabene.brown> <4F0D9B15.4070803@ti.com> <4F0DB020.2080804@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:46718 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933596Ab2AKQyk (ORCPT ); Wed, 11 Jan 2012 11:54:40 -0500 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Joe Woodward Cc: Paul Walmsley , NeilBrown , khilman@ti.com, linux-omap@vger.kernel.org, Tomi Valkeinen Hi, On Wednesday 11 January 2012 09:43 PM, Joe Woodward wrote: > -----Original Message----- > From: Archit > To: Joe Woodward > Cc: Paul Walmsley, NeilBrown,,, Tomi Valkeinen > > Date: Wed, 11 Jan 2012 21:22:00 +0530 > Subject: Re: DSS2/PM on 3.2 broken? > >> Hi, >> >> On Wednesday 11 January 2012 08:45 PM, Joe Woodward wrote: >>> ...snip... >>> >>>> >>>> Could you enable omapdss debug by adding 'omapdss.debug=1 debug' in >>>> your bootargs and share logs? >>> >> Archit > > I'm not 100% sure what you mean for mmount -t debugfs debugfs /sys/kernel/debuge to do here? > > Do you mean to halt the kernel after suspending, but before resuming? If so, how would I go about doing this? > I'd asked for reboot or power off as you have done below. The suspend path looks okay, I asked for the power off to see if there was a dss_runtime_get() was called at the wrong time by some interrupt while suspending. One difference between the shutdown and suspend logs is that we don't see the prints 'omapdss DSS: dss_save_context' and 'omapdss DSS: context saved', that seems a bit fishy. I'm not sure how to go ahead from here. We haven't seen this on OMAP4, and I don't think I have tried this on OAMP3. Maybe Tomi has more ideas. Archit > If I just reboot or poweroff I get the following... > > # poweroff > The system is going down NOW! > Sent SIGTERM to all processes > Sent SIGKILL to all processes > Requesting system poweroff > [ 43.310607] omapdss CORE: shutdown > [ 43.499053] omapdss DISPC: dispc_runtime_put > [ 43.504272] omapdss DISPC: dispc_save_context > [ 43.509399] omapdss DISPC: context saved, ctx_loss_count 0 > [ 43.515747] omapdss DSS: dss_runtime_put > [ 43.521453] omapdss DSS: dss_runtime_put > [ 43.527221] System halted. > > # reboot > The system is going down NOW! > Sent SIGTERM to all processes > Sent SIGKILL to all processes > Requesting system reboot > [ 25.652008] omapdss CORE: shutdown > [ 25.836120] omapdss DISPC: dispc_runtime_put > [ 25.841125] omapdss DISPC: dispc_save_context > [ 25.846221] omapdss DSS: dss_runtime_put > [ 25.851776] omapdss DISPC: context saved, ctx_loss_count 0 > [ 25.857788] omapdss DSS: dss_runtime_put > [ 25.864074] Restarting system. > > Cheers, > Joe > >