aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-11-07 23:10:24 +1000
committerDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-11-07 23:10:24 +1000
commit47497abc1e38081564db429329a3ba16198c1521 (patch)
tree8a65b01b11d6aa4c5af01bd30fba083c8914156e
parent40fb079aebae4277813e6a32e2e93c81dc0038e3 (diff)
i915: oops disable TTM is backwards
-rw-r--r--shared-core/i915_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 541b4ccb..5bc3c490 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -1402,7 +1402,7 @@ int i915_driver_device_is_agp(struct drm_device * dev)
int i915_driver_firstopen(struct drm_device *dev)
{
#ifdef I915_HAVE_BUFFER
- if (!IS_I9XX(dev))
+ if (IS_I9XX(dev))
drm_bo_driver_init(dev);
#endif
return 0;