[PATCHv2] drm/omap: Fix issue with clocks left on after resume

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Fri May 7 13:26:39 UTC 2021


On 05/05/2021 14:12, Tony Lindgren wrote:
> * Tony Lindgren <tony at atomide.com> [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


More information about the dri-devel mailing list