drm/nouveau/falcon: use a more reasonable msgqueue timeout value
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
df00d5da60
commit
e20868b906
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue