Re: [PATCH v2 4/5] drm/panthor: Be robust against resume failures

2024-11-29 Thread Steven Price
On 28/11/2024 11:02, Boris Brezillon wrote: > When the runtime PM resume callback returns an error, it puts the device > in a state where it can't be resumed anymore. Make sure we can recover > from such transient failures by calling pm_runtime_set_suspended() > explicitly after a pm_runtime_resume

Re: [PATCH v2 4/5] drm/panthor: Be robust against resume failures

2024-11-29 Thread Boris Brezillon
On Fri, 29 Nov 2024 13:59:13 + Adrián Larumbe wrote: > Reviewed-by: Adrian Larumbe > > On 28.11.2024 12:02, Boris Brezillon wrote: > > When the runtime PM resume callback returns an error, it puts the device > > in a state where it can't be resumed anymore. Make sure we can recover > > from

Re: [PATCH v2 4/5] drm/panthor: Be robust against resume failures

2024-11-29 Thread Adrián Larumbe
Reviewed-by: Adrian Larumbe On 28.11.2024 12:02, Boris Brezillon wrote: > When the runtime PM resume callback returns an error, it puts the device > in a state where it can't be resumed anymore. Make sure we can recover > from such transient failures by calling pm_runtime_set_suspended() > explic

[PATCH v2 4/5] drm/panthor: Be robust against resume failures

2024-11-28 Thread Boris Brezillon
When the runtime PM resume callback returns an error, it puts the device in a state where it can't be resumed anymore. Make sure we can recover from such transient failures by calling pm_runtime_set_suspended() explicitly after a pm_runtime_resume_and_get() failure. v2: - Add a comment explaining