From: Ben Skeggs <bskeggs@redhat.com>
Date: Mon, 9 Aug 2010 05:18:44 +0000 (+1000)
Subject: drm/nvc0: fix typo in PRAMIN flush
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2dc5d2ec0599bd96729f8a9b00d44b56e15d765d;p=linux.git

drm/nvc0: fix typo in PRAMIN flush

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
---

diff --git a/drivers/gpu/drm/nouveau/nvc0_instmem.c b/drivers/gpu/drm/nouveau/nvc0_instmem.c
index e74bd454f63b6..3ab3cdc421733 100644
--- a/drivers/gpu/drm/nouveau/nvc0_instmem.c
+++ b/drivers/gpu/drm/nouveau/nvc0_instmem.c
@@ -134,7 +134,7 @@ void
 nvc0_instmem_flush(struct drm_device *dev)
 {
 	nv_wr32(dev, 0x070000, 1);
-	if (!nv_wait(0x070000, 0x00000001, 0x00000000))
+	if (!nv_wait(0x070000, 0x00000002, 0x00000000))
 		NV_ERROR(dev, "PRAMIN flush timeout\n");
 }