summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2026-09-15 16:42:16 -0300
committerMaíra Canal <mcanal@igalia.com>2026-09-30 19:30:45 -0300
commitae72b9c39d280e02b1c9e6c91f1f7dd23b550a85 (patch)
tree88187a5e15b84eb485ecd587a3de9c691d812855 /tools/perf/scripts/python/stackcollapse.py
parent37b346eab23aead52d17a8fa687056bfc651a416 (diff)
downloadlinux-ae72b9c39d280e02b1c9e6c91f1f7dd23b550a85.tar.gz
linux-ae72b9c39d280e02b1c9e6c91f1f7dd23b550a85.zip
drm: Move drm_timeout_abs_to_jiffies() to drm_timeout.c
drm_timeout_abs_to_jiffies() began as a static helper inside the syncobj wait implementation and was later exported in place, so that it could be called by multiple drivers (e.g. panfrost, lima, tegra and accel drivers). All of them reach it through drm_utils.h. Give it a file of its own, so that timeout conversion helpers have a home, which will be useful when we add new timeout handlers. Also create a drm_timeout.h header to host all timeout-related helpers. The function was moved to the new file as it is, including the use of "signed long" as the return type. Note that the return and parameters types should be reconsidered in the future to better represent the non-negative nature of a timeout. No functional change. Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patch.msgid.link/20260915-drm-timeout-helpers-v3-1-f2ae987d861f@igalia.com Signed-off-by: Maíra Canal <mcanal@igalia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions