Re: [omapzoom][PATCH 2/4] DSPBRIDGE: LM Timer release for hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Omar,

It seems that this patch conflicts the previous bridge patch:

   "[PATCH] BRIDGE Power Management cleanup"
   	    http://article.gmane.org/gmane.linux.ports.arm.omap/13447

I'm guessing that this is because that previous patch may be missed in
"o-z", could you take a look, please?

You can get the latest "l-o" + the latest "tidspbridge" from:

    http://git.gitorious.org/lk/mainline.git tidspbridge

If I missed something except this patch, please let me know.

    Hiroshi DOYU

From: "ext Ramirez Luna, Omar" <x00omar@xxxxxx>
Subject: [omapzoom][PATCH 2/4] DSPBRIDGE: LM Timer release for hibernation
Date: Thu, 20 Nov 2008 03:11:59 -0600

> From: Ramesh Gupta <grgupta@xxxxxx>
> Date: Mon, 17 Nov 2008 16:11:19 -0600
> Subject: [PATCH] DSPBRIDGE: LM Timer release for hibernation
> 
> Release load monitor timer when the DSP is
> inactive and goes to hibernation
> 
> Signed-off-by: Ramesh Gupta <grgupta@xxxxxx>
> Signed-off-by: SuiLun Lam <s-lam@xxxxxx>
> ---
>  drivers/dsp/bridge/wmd/tiomap_sm.c |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c b/drivers/dsp/bridge/wmd/tiomap_sm.c
> index 63655d9..edc3bcf 100644
> --- a/drivers/dsp/bridge/wmd/tiomap_sm.c
> +++ b/drivers/dsp/bridge/wmd/tiomap_sm.c
> @@ -190,7 +190,6 @@ DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *hDevContext)
>  
>  	if  (pDevContext->dwBrdState == BRD_DSP_HIBERNATION ||
>  	    pDevContext->dwBrdState == BRD_HIBERNATION) {
> -		pDevContext->dwBrdState = BRD_RUNNING;
>  #ifndef CONFIG_DISABLE_BRIDGE_PM
>  #ifndef CONFIG_DISABLE_BRIDGE_DVFS
>  #ifndef CONFIG_OMAP3_PM
> @@ -235,9 +234,12 @@ DSP_STATUS CHNLSM_InterruptDSP(struct WMD_DEV_CONTEXT *hDevContext)
>  			  mboxsetting.irqEnable0);
>  		DBG_Trace(DBG_LEVEL6, "MailBoxSettings: IRQENABLE1 = 0x%x\n",
>  			 mboxsetting.irqEnable1);
> -		/* Restart the peripheral clocks that were disabled */
> -		DSP_PeripheralClocks_Enable(hDevContext, NULL);
> +		/* Restart the peripheral clocks that were disabled only
> +		 * in DSP initiated Hibernation case.*/
> +		if (pDevContext->dwBrdState == BRD_DSP_HIBERNATION)
> +			DSP_PeripheralClocks_Enable(hDevContext, NULL);
>  
> +		pDevContext->dwBrdState = BRD_RUNNING;
>  	}
>  	while (--cnt) {
>  		hwStatus = HW_MBOX_IsFull(resources.dwMboxBase,
> -- 
> 1.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux