Re: [PATCH] drm/v3d: Stop active perfmon if it is being destroyed

2024-11-22 Thread MaĆ­ra Canal
Hi Christian, On 18/11/24 19:19, Christian Gmeiner wrote: From: Christian Gmeiner If the active performance monitor (v3d->active_perfmon) is being destroyed, stop it first. Currently, the active perfmon is not stopped during destruction, leaving the v3d->active_perfmon pointer stale. This can

[PATCH] drm/v3d: Stop active perfmon if it is being destroyed

2024-11-18 Thread Christian Gmeiner
From: Christian Gmeiner If the active performance monitor (v3d->active_perfmon) is being destroyed, stop it first. Currently, the active perfmon is not stopped during destruction, leaving the v3d->active_perfmon pointer stale. This can lead to undefined behavior and instability. This patch ensur