mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 17:47:38 +07:00
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: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
04184b1fc9
commit
4c69ac12e3
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user