diff options
| author | Maíra Canal <mcanal@igalia.com> | 2026-01-27 14:56:59 +0300 |
|---|---|---|
| committer | Maíra Canal <mcanal@igalia.com> | 2026-02-02 13:54:43 +0300 |
| commit | 0a5b0d095bcdb219348ed8ae1c97ee99fc4913b8 (patch) | |
| tree | 5e28934af0770570cdf5281b8ea49dcf59220492 /scripts/include | |
| parent | 3d65e4c276b32c03450261d114e495fda03c8e97 (diff) | |
| download | linux-0a5b0d095bcdb219348ed8ae1c97ee99fc4913b8.tar.xz | |
drm/v3d: Replace IDR with XArray for perfmon tracking
The IDR interface is deprecated and the XArray API is the recommended
replacement. Replace the per-file IDR used to track perfmons with an
XArray. This allows us to remove the external mutex that protects the
IDR.
While here, introduce the v3d_perfmon_delete() helper to consolidate
the perfmon cleanup logic used by both v3d_perfmon_close_file() and
v3d_perfmon_destroy_ioctl().
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://patch.msgid.link/20260127115822.64401-1-mcanal@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions
