projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04184b1
)
drm/tegra: Correct timeout in tegra_syncpt_wait
author
Dmitry Osipenko
<digetx@gmail.com>
Wed, 20 Dec 2017 15:46:14 +0000
(18:46 +0300)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 21 Dec 2017 13:52:39 +0000
(14:52 +0100)
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>
drivers/gpu/drm/tegra/drm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/drm.c
b/drivers/gpu/drm/tegra/drm.c
index 52468f6692772b2a6b51e4d3026bb526d030e70a..ff931d3508a99f259cad5a4ab9d3dac9eca8f4da 100644
(file)
--- a/
drivers/gpu/drm/tegra/drm.c
+++ b/
drivers/gpu/drm/tegra/drm.c
@@
-661,7
+661,8
@@
static int tegra_syncpt_wait(struct drm_device *drm, void *data,
if (!sp)
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);
}