diff options
author | Thierry Reding <[email protected]> | 2024-02-27 12:20:38 +0100 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2024-02-28 12:18:07 +0100 |
commit | 925c70c9b8e59c82a607c952e1f4580c0eae4a1c (patch) | |
tree | a5a1571bfd7075eae2a764299044df883ba9c023 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0c591381e4462005234f942d9fc36a369c0f5998 (diff) |
drm: Remove drm_num_crtcs() helper
The drm_num_crtcs() helper determines the number of CRTCs by iterating
over the list of CRTCs that have been registered with the mode config.
However, we already keep track of that number in the mode config's
num_crtcs field, so we can simply retrieve the value from that and
remove the extra helper function.
Signed-off-by: Thierry Reding <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions