Comment 6 for bug 1005735

Revision history for this message
Inderpal Singh (ips) wrote :

The u-boot commit mentioned at msg #5 changes the default clock settings of other IPs belonging to same domain. That causes the system hang while resuming. The attached patch "0001-u-boot-origen-Restore-default-clock-settings-for-CSI.patch" restores the default clock settings.

With this u-boot patch the system resumes but LCD does not come back. The remaining system works just fine after resume.

It is found that the commit 2a79d863ab5ea... "Add overlay support" on frame buffer driver removed the mainlined code
which resumes all windows after suspend/resume. Thats the last culprit for this bug. Have attached one more patch "0001-Video-s3c-fb-Resume-all-windows.patch" which restores all the windows after resume.

Now the suspend resume is working perfectly.

Summary:

1. commit 7c1b4bf080f6bab62c does not let the system go to suspend. This commit is not required on ubuntu as we do not have the Mali support on ubuntu yet. Moreover, as mentioned by Sangwook at msg #3, The mali driver does not have the compatible PM support for the latest linux kernel.

2. Attached patches need to be applied to undo the problems caused by u-boot and fb driver commits.