lkml.org 
[lkml]   [2023]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] drm/msm: Avoid rounding down to zero jiffies
Date

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@linaro.org>

\
 
 \ /
  Last update: 2023-03-29 00:39    [W:0.043 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site