Files
Maíra Canal 226666556a 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>
2026-09-30 19:41:08 -03:00
..
2026-07-07 16:58:46 -03:00
2026-08-20 10:58:44 +10:00
2026-03-13 18:02:32 -03:00