Re: [PATCH v3 5/5] drm/panthor: Fix the fast-reset logic

2024-12-11 Thread Boris Brezillon
On Wed, 11 Dec 2024 09:57:07 + Liviu Dudau wrote: > On Wed, Dec 11, 2024 at 08:54:19AM +0100, Boris Brezillon wrote: > > If we do a GPU soft-reset, that's no longer fast reset. This also means > > the slow reset fallback doesn't work because the MCU state is only reset > > after a GPU soft-re

Re: [PATCH v3 5/5] drm/panthor: Fix the fast-reset logic

2024-12-11 Thread Liviu Dudau
On Wed, Dec 11, 2024 at 08:54:19AM +0100, Boris Brezillon wrote: > If we do a GPU soft-reset, that's no longer fast reset. This also means > the slow reset fallback doesn't work because the MCU state is only reset > after a GPU soft-reset. > > Let's move the retry logic to panthor_device_resume()

[PATCH v3 5/5] drm/panthor: Fix the fast-reset logic

2024-12-10 Thread Boris Brezillon
If we do a GPU soft-reset, that's no longer fast reset. This also means the slow reset fallback doesn't work because the MCU state is only reset after a GPU soft-reset. Let's move the retry logic to panthor_device_resume() to issue a soft-reset between the fast and slow attempts, and patch panthor