Skip to contentSkip to conversation

Question about timers used in dsp bridge

DISCUSSION Högander Jouni 2 participants 4 messages Sep 16, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

Dsp bridge is using gpt5 and gpt6. When loading baseimage:

cexec.out -T /lib/dsp/baseimage.dof

both timers are started, but gpt5 is stopped at some point. Gpt6 is left running. Any idea what for these timers are used and why gpt6 is left running?

Signature · 6 lines
Jouni Högander

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Hi Jouni,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of "Högander" Jouni
Sent: Tuesday, September 16, 2008 4:02 PM
To: [email protected]
Subject: Question about timers used in dsp bridge

Hi,

Quoted 7 lines

Dsp bridge is using gpt5 and gpt6. When loading baseimage:

cexec.out -T /lib/dsp/baseimage.dof

both timers are started, but gpt5 is stopped at some point. Gpt6 is left running. Any idea what for these timers are used and why gpt6 is left running?

In Dsp Bridge GPT5 is used as BIOS_CLK and used only while DSP is starting, this is disabled once the DSP is started. GPT6 is used for load monitoring purpose by DSP Bridge. GPT6 is disabled only if the DSP enters into sleep state i.e. Hibernation.

Thanks
Ramesh Gupta G

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 16 lines · ext Ramesh Gupta Guntha

Hi Jouni,

Quoted 14 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of "Högander" Jouni
Sent: Tuesday, September 16, 2008 4:02 PM
To: [email protected]
Subject: Question about timers used in dsp bridge

Hi,

Dsp bridge is using gpt5 and gpt6. When loading baseimage:

cexec.out -T /lib/dsp/baseimage.dof

Quoted 7 lines
Quoted 3 lines

both timers are started, but gpt5 is stopped at some point. Gpt6 is left running. Any idea what for these timers are used and why gpt6 is left running?

In Dsp Bridge GPT5 is used as BIOS_CLK and used only while DSP is starting, this is disabled once the DSP is started. GPT6 is used for load monitoring purpose by DSP Bridge. GPT6 is
disabled only if the DSP enters into sleep state i.e. Hibernation.

Thanks for your explanation. Is it entering sleep state itself and then informing bridge driver about this or is it bridge which asks dsp to enter hibernation?

Quoted 7 lines

Thanks
Ramesh Gupta G

Signature · 6 lines
Jouni Högander

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

Hi Jouni,

<snip>

Quoted 8 lines
Quoted 1 line

In Dsp Bridge GPT5 is used as BIOS_CLK and used only while

DSP is starting, this is disabled once the DSP is started.

Quoted 2 lines

GPT6 is used for load monitoring purpose by DSP Bridge. GPT6 is disabled only if the DSP enters into sleep state i.e. Hibernation.

Thanks for your explanation. Is it entering sleep state itself and then informing bridge driver about this or is it bridge which asks dsp to enter hibernation?

This is for both the cases like DSP initiated Hibernation , usually this happens if there is no activity for certain predefined amount of time and for system suspend where bridge asks dsp to enter into hibernation, for these two cases GPT6 is disabled.

Regards
Ramesh Gupta G