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:
df00d5d
)
drm/nouveau/falcon: use a more reasonable msgqueue timeout value
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 1 Aug 2017 06:15:46 +0000
(16:15 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 22 Aug 2017 08:04:32 +0000
(18:04 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
b/drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
index d45d7947a964a3399d983b234c685a8c335f63f1..77273b53672c2fd20db262e5fdcc9c765c057e2a 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
@@
-251,7
+251,7
@@
cmd_write(struct nvkm_msgqueue *priv, struct nvkm_msgqueue_hdr *cmd,
struct nvkm_msgqueue_queue *queue)
{
const struct nvkm_subdev *subdev = priv->falcon->owner;
- static unsigned
long timeout = ~
0;
+ static unsigned
timeout = 200
0;
unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout);
int ret = -EAGAIN;
bool commit = true;