Re: [PATCH] drm/panfrost: Add missing OPP table refcnt decremental

2024-10-03 Thread Adrián Larumbe
On 03.10.2024 09:17, Boris Brezillon wrote: > On Thu, 3 Oct 2024 01:25:37 +0100 > Adrián Larumbe wrote: > > > Commit f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics") > > retrieves the OPP for the maximum device clock frequency, but forgets to > > keep the reference count balanc

Re: [PATCH] drm/panfrost: Add missing OPP table refcnt decremental

2024-10-03 Thread Steven Price
On 03/10/2024 08:17, Boris Brezillon wrote: > On Thu, 3 Oct 2024 01:25:37 +0100 > Adrián Larumbe wrote: > >> Commit f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics") >> retrieves the OPP for the maximum device clock frequency, but forgets to >> keep the reference count balanced

Re: [PATCH] drm/panfrost: Add missing OPP table refcnt decremental

2024-10-03 Thread Boris Brezillon
On Thu, 3 Oct 2024 01:25:37 +0100 Adrián Larumbe wrote: > Commit f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics") > retrieves the OPP for the maximum device clock frequency, but forgets to > keep the reference count balanced by putting the returned OPP object. This > eventually

Re: [PATCH] drm/panfrost: Add missing OPP table refcnt decremental

2024-10-03 Thread Boris Brezillon
On Thu, 3 Oct 2024 01:25:37 +0100 Adrián Larumbe wrote: > Commit f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics") > retrieves the OPP for the maximum device clock frequency, but forgets to > keep the reference count balanced by putting the returned OPP object. This > eventually

[PATCH] drm/panfrost: Add missing OPP table refcnt decremental

2024-10-02 Thread Adrián Larumbe
Commit f11b0417eec2 ("drm/panfrost: Add fdinfo support GPU load metrics") retrieves the OPP for the maximum device clock frequency, but forgets to keep the reference count balanced by putting the returned OPP object. This eventually leads to an OPP core warning when removing the device. Fix it by