summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2006-02-26 05:44:09 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2006-02-26 05:44:09 +0000
commit2a7d91beec2d286cb3a26307bede552f907392ad (patch)
tree69632078d888b9cebc2bf1c6b126794ee9d98505
parent6c086f1975399cd51046ad04cb77a9cb32d6b11b (diff)
ttm: Fix typo.
-rw-r--r--shared-core/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index e7048d90..c843e627 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -244,7 +244,7 @@ int i915_wait_fence(drm_device_t * dev, uint32_t fence)
int i;
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
- if (dev_priv)
+ if (!dev_priv)
return 0;
for (i=0; i<10000000; ++i) {