1 / 3

DSP SUSPEND DESIGN

DSP SUSPEND DESIGN. RK – 26/7/13 v1. Echo mem > / sys/power/state. Pm_suspend (). freeze_processes () freeze_kernel_threads (). Enter_state (). suspend_prepare (). DSP_POWER_PREPARE(). Suspend_notify. suspend_freeze_processes(). Complete_notify. suspend_devices_and_enter () .

lesley
Download Presentation

DSP SUSPEND DESIGN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DSP SUSPEND DESIGN RK – 26/7/13 v1

  2. Echomem > /sys/power/state Pm_suspend() freeze_processes() freeze_kernel_threads() Enter_state() suspend_prepare() DSP_POWER_PREPARE() Suspend_notify suspend_freeze_processes() Complete_notify suspend_devices_and_enter() DSP_SUSPEND() suspend_finish() DSP_POWER_SUSPEND()

  3. Functionality • DSP_POWER_PREPARE() – Prepare DSP for suspend • Notify/interrupt the suspend routine on DSP about system suspend request • We need an IPC such as SyslinkNotfiyto talk to our suspend routine on DSP • DSP_SUSPEND() – Put DSP to suspend • Freeze tasks/store context/disable clocks • Notify DSP_POWER_PREPARE() that suspend is completed using IPC/Syslink • DSP_POWER_SUSPEND() – Do house keeping for pwrdm off • Gate DSP iclk/fclk, put dspclkdm to sleep • DSP_POWER_COMPLETE() – (optional)

More Related