Prevent softlockup triggering in nvidiafb

From: Dave Jones
Date: Mon Apr 23 2007 - 11:36:54 EST


If the chip locks up, we get into a long polling loop,
where the softlockup detector kicks in.
See https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=151878
for an example.

Signed-off-by: Dave Jones <davej@xxxxxxxxxx>

--- linux-2.6.20.noarch/drivers/video/nvidia/nv_accel.c~ 2007-04-23 11:06:12.000000000 -0400
+++ linux-2.6.20.noarch/drivers/video/nvidia/nv_accel.c 2007-04-23 11:07:18.000000000 -0400
@@ -132,6 +132,8 @@ static void NVDmaWait(struct nvidia_par
}
} else
par->dmaFree = dmaGet - par->dmaCurrent - 1;
+
+ touch_softlockup_watchdog();
}

if (!count) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/