On 05/05/2021 14:12, Tony Lindgren wrote:
* Tony Lindgren <tony@xxxxxxxxxxx> [210503 12:18]:
I think we still fix the dispc related issue too, otherwise the parent
child_count will just keep increasing on each suspend. I check that
again though.
After tons more debugging, I found the root cause for the parent child_count
increasing and posted a patch for it at [0] below.
This means the $subject patch here can be done later on as clean-up to
leave out lots of unnecessary PM runtime calls and simplify the system
suspend :)
Great work, thanks! It's always nice when someone else does the tons of
debugging ;).
I tested the patch you sent, works fine for me.
While testing I noticed another problem, which happens also without your
fix: go to suspend with HDMI connected, remove the cable, resume the
board -> boom. I didn't debug that yet.
Tomi