summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvc0_instmem.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-08-09 09:18:44 +0400
committerBen Skeggs <bskeggs@redhat.com>2010-08-09 09:18:44 +0400
commit2dc5d2ec0599bd96729f8a9b00d44b56e15d765d (patch)
treebd70c64ed7c08f228541721ecfad02c559bc344f /drivers/gpu/drm/nouveau/nvc0_instmem.c
parent27d50fcc9ac7a39a4ab3107a619ee60ed05c6de8 (diff)
downloadlinux-2dc5d2ec0599bd96729f8a9b00d44b56e15d765d.tar.xz
drm/nvc0: fix typo in PRAMIN flush
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_instmem.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_instmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_instmem.c b/drivers/gpu/drm/nouveau/nvc0_instmem.c
index e74bd454f63b..3ab3cdc42173 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");
}