Commit e20868b9 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/falcon: use a more reasonable msgqueue timeout value

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent df00d5da
...@@ -251,7 +251,7 @@ cmd_write(struct nvkm_msgqueue *priv, struct nvkm_msgqueue_hdr *cmd, ...@@ -251,7 +251,7 @@ cmd_write(struct nvkm_msgqueue *priv, struct nvkm_msgqueue_hdr *cmd,
struct nvkm_msgqueue_queue *queue) struct nvkm_msgqueue_queue *queue)
{ {
const struct nvkm_subdev *subdev = priv->falcon->owner; const struct nvkm_subdev *subdev = priv->falcon->owner;
static unsigned long timeout = ~0; static unsigned timeout = 2000;
unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout); unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout);
int ret = -EAGAIN; int ret = -EAGAIN;
bool commit = true; bool commit = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment