[PATCH 07/11] drm/v3d: Size the kperfmon_ids array at runtime

2024-07-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Instead of statically reserving pessimistic space for the kperfmon_ids array, make the userspace extension code allocate the exactly required amount of space. Apart from saving some memory at runtime, this also removes the need for the V3D_MAX_PERFMONS macro whose removal wi

Re: [PATCH 07/11] drm/v3d: Size the kperfmon_ids array at runtime

2024-07-11 Thread MaĆ­ra Canal
On 7/11/24 06:15, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Instead of statically reserving pessimistic space for the kperfmon_ids array, make the userspace extension code allocate the exactly required amount of space. Apart from saving some memory at runtime, this also removes the need for t

[PATCH 07/11] drm/v3d: Size the kperfmon_ids array at runtime

2024-07-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Instead of statically reserving pessimistic space for the kperfmon_ids array, make the userspace extension code allocate the exactly required amount of space. Apart from saving some memory at runtime, this also removes the need for the V3D_MAX_PERFMONS macro whose removal wi