Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e20868b9 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent df00d5da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = 2000;
	unsigned long end_jiffies = jiffies + msecs_to_jiffies(timeout);
	int ret = -EAGAIN;
	bool commit = true;