Re: [PATCH] drm/msm: Avoid rounding down to zero jiffies

From: Dmitry Baryshkov
Date: Tue Mar 28 2023 - 18:38:50 EST



On Fri, 24 Mar 2023 15:00:13 -0700, Rob Clark wrote:
> If userspace asked for a timeout greater than zero, but less than a
> jiffy, they clearly weren't planning on spinning. So it is better
> to round up to one.
>
> This fixes an issue with supertuxkart that was (for some reason)
> spinning on a gl sync with 1ms timeout. CPU time for a demo lap
> drops from:
>
> [...]

Applied, thanks!

[1/1] drm/msm: Avoid rounding down to zero jiffies
https://gitlab.freedesktop.org/lumag/msm/-/commit/a5c5593477b0

Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>