summaryrefslogtreecommitdiff
path: root/linux-core/nv50_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/nv50_display.c')
-rw-r--r--linux-core/nv50_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/nv50_display.c b/linux-core/nv50_display.c
index 1d828552..cd527c44 100644
--- a/linux-core/nv50_display.c
+++ b/linux-core/nv50_display.c
@@ -337,10 +337,11 @@ void nv50_display_command(struct drm_nouveau_private *dev_priv, uint32_t mthd, u
while (NV_READ(NV50_PDISPLAY_CTRL_STATE) & NV50_PDISPLAY_CTRL_STATE_PENDING) {
counter++;
- if (counter > 25000) {
+ if (counter > 1000000) {
DRM_ERROR("You probably need a reboot now\n");
break;
}
+ udelay(1);
}
}