This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP3530 framebuffer LCD suspend and resume

Other Parts Discussed in Thread: OMAP3530, WL1271

Hi,

   On our omap3530 based board we are trying to suspend/resume the board. We used the following commands

         echo mem > /sys/power/state

But we are getting blank screen after we resume. We also applied patch from the below link still not working.

http://lists.linaro.org/pipermail/linaro-dev/2011-June/005046.html

Anyone having solution for suspend and resume issue on frame buffer.


Thanks Regards

Eswar

  • Hi Eswar,

    I checked the issue on my board omap3evm equipped with omap3530 and DVSDK 4.03 Linux kernel 2.6.37 and suspend / resume procedure works properly. The test is performed without the patch and observing LCD display. The resume is achieved after both cases - serial console activity and touchscreen activity. There is the console output:

    root@omap35x-evm:/sys/power# echo mem > state
    [ 1060.185821] PM: Syncing filesystems ... done.
    [ 1060.191375] PM: Preparing system for mem sleep
    [ 1060.196075] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 1060.219665] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
    [ 1060.250976] PM: Entering mem sleep
    [ 1060.254852] Suspending console(s) (use no_console_suspend to debug)
    [ 1060.266204] wl1271: wl1271_suspend: wow_enabled: 0
    [ 1060.497039] PM: suspend of devices complete after 234.344 msecs
    [ 1060.497955] PM: late suspend of devices complete after 0.915 msecs
    [ 1063.716308] Successfully put all powerdomains to target state
    [ 1063.717010] PM: early resume of devices complete after 0.549 msecs
    [ 1063.717407] platform iva.0: omap_voltage_scale: Already at the requestedrate 800000000
    [ 1063.717407] platform mpu.0: omap_voltage_scale: Already at the requestedrate 1000000000
    [ 1064.185729] wl1271: wl1271 resume
    [ 1064.188354] PM: resume of devices complete after 471.252 msecs
    [ 1064.246398] PM: Finishing wakeup.
    [ 1064.249908] Restarting tasks ... done.
    root@omap35x-evm:/sys/power#

    About the patch - read the next messages of discussion in the patch page. It seems that it is not working properly with the HDMI/DVI interface.

    BR

    Tsvetolin Shulev

  • Hi,

       Thanks for reply. But when we tried with 2.6.37 kernel on our board we are getting the following messages on the console. And LCD is displaying Black screen after resume.

      [  197.898773] PM: Syncing filesystems ... done.
    [  197.931091] Freezing user space processes ... (elapsed 0.02 seconds) done.
    [  197.961120] Freezing remaining freezable tasks ... (elapsed 0.03 seconds) done.
    [  198.008514] Suspending console(s) (use no_console_suspend to debug)
    [  198.116607] PM: suspend of devices complete after 94.421 msecs
    [  198.122497] omap_device: omap_i2c.1: new worst case deactivate latency 0: 183105
    [  198.122894] PM: late suspend of devices complete after 6.286 msecs
    [  198.123626] omap_device: omap_uart.2: new worst case deactivate latency 0: 30517
    [  199.733856] omap_device: omap_uart.0: new worst case activate latency 0: 91552
    [  199.734008] Powerdomain (core_pwrdm) didn't enter target state 1
    [  199.734039] Powerdomain (cam_pwrdm) didn't enter target state 1
    [  199.734039] Powerdomain (per_pwrdm) didn't enter target state 1
    [  199.734069] Could not enter target state in pm_suspend
    [  199.737121] PM: early resume of devices complete after 2.807 msecs

    [  199.900299] PM: resume of devices complete after 161.895 msecs
    [  199.985321] Restarting tasks ...
    [  199.990386] done.

    Is this warnings are problem for LCD Black screen after resume??

    Thanks Regards

    Eswar