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:19 -0300
committerMaíra Canal <mcanal@igalia.com>2026-09-30 19:41:08 -0300
commit226666556a9b3b51f04f9dad83662e5b9c78a325 (patch)
treecb1c3da0d36abcef729398c5a547873afecc7ad4 /tools/perf/scripts/python/stackcollapse.py
parent5ce81ba29a4cfbce8be5cc2999292f2fc3962031 (diff)
downloadlinux-226666556a9b3b51f04f9dad83662e5b9c78a325.tar.gz
linux-226666556a9b3b51f04f9dad83662e5b9c78a325.zip
drm/v3d: Use drm_timeout_rel_to_jiffies()
v3d carried an exact copy of i915's nsecs_to_jiffies_timeout(). Now that the conversion lives in "drm_timeout.c", drop the copy and use it. The core helper also returns 0 for a zero timeout. i915 has that check in to_wait_timeout(), but v3d only ever copied the conversion, so DRM_IOCTL_V3D_WAIT_BO with timeout_ns == 0 was turned into a one jiffy wait and could block for a tick before reporting -ETIME. It now returns without waiting. Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260915-drm-timeout-helpers-v3-4-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