diff options
| author | Tvrtko Ursulin <[email protected]> | 2024-07-11 14:53:36 +0100 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2024-07-13 11:00:31 -0300 |
| commit | c9d6630f7c67a5c6cc2ba90f1abbd0dff7d8eca9 (patch) | |
| tree | bc45437223dbe1fd08781fe6fb77286f08b42714 /tools/perf/scripts/python | |
| parent | 4bd75a81e61ab691154a83068a694c9af44e2dd6 (diff) | |
drm/v3d: Size the kperfmon_ids array at runtime
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 will benefit further driver
cleanup.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Maíra Canal <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions