Skip to content
Snippets Groups Projects
Commit 128c1b63 authored by Rob Clark's avatar Rob Clark Committed by Frieder Schrempf
Browse files

drm/msm: Avoid rounding up to one jiffy


[ 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>
parent 7d5a7d36
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment