Skip to content
Snippets Groups Projects
user avatar
Rob Clark authored
[ Upstream commit 669c285620231786fffe9d87ab432e08a6ed922b ]

If userspace is trying to achieve a timeout of zero, let 'em have it.
Only round up if the timeout is greater than zero.

Fixes: 4969bccd ("drm/msm: Avoid rounding down to zero jiffies")
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarAkhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/632264/


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
128c1b63
History
Name Last commit Last update