diff options
author | 2024-07-11 14:53:36 +0100 | |
---|---|---|
committer | 2024-07-13 11:00:31 -0300 | |
commit | c9d6630f7c67a5c6cc2ba90f1abbd0dff7d8eca9 (patch) | |
tree | bc45437223dbe1fd08781fe6fb77286f08b42714 /drivers/gpu/drm/stm/ltdc.c | |
parent | drm/v3d: Move part of copying of reset/copy performance extension to a helper (diff) | |
download | wireguard-linux-c9d6630f7c67a5c6cc2ba90f1abbd0dff7d8eca9.tar.xz wireguard-linux-c9d6630f7c67a5c6cc2ba90f1abbd0dff7d8eca9.zip |
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 <tvrtko.ursulin@igalia.com>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240711135340.84617-8-tursulin@igalia.com
Diffstat (limited to 'drivers/gpu/drm/stm/ltdc.c')
0 files changed, 0 insertions, 0 deletions