mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/msm: Avoid rounding up to one jiffy
[ Upstream commit669c285620] 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:4969bccd5f("drm/msm: Avoid rounding down to zero jiffies") Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/632264/ Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f5d5e8165a
commit
45bb1eaa0e
1 changed files with 4 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue