提交 4c69ac12 编写于 作者: D Dmitry Osipenko 提交者: Thierry Reding

drm/tegra: Correct timeout in tegra_syncpt_wait

host1x_syncpt_wait() takes timeout value in jiffies, but DRM passes it in
milliseconds.
Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 04184b1f
...@@ -661,7 +661,8 @@ static int tegra_syncpt_wait(struct drm_device *drm, void *data, ...@@ -661,7 +661,8 @@ static int tegra_syncpt_wait(struct drm_device *drm, void *data,
if (!sp) if (!sp)
return -EINVAL; return -EINVAL;
return host1x_syncpt_wait(sp, args->thresh, args->timeout, return host1x_syncpt_wait(sp, args->thresh,
msecs_to_jiffies(args->timeout),
&args->value); &args->value);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册