summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-11-28 22:46:06 +1000
committerDave Airlie <airlied@clockmaker.usersys.redhat.com>2007-11-28 22:46:06 +1000
commite9fa8fe7342fad710bee4f65bc23ec06d3020f05 (patch)
tree5ab395d8a16ced7cec4cb3bf115dfe74699b6d4e /shared-core
parent5dc5c36e624e5393b5427a159ad34e5fc358cc9f (diff)
i965: oops force mi batchbuffer start
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 9aff752c..06dd3629 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -165,6 +165,9 @@ static int i915_initialize(struct drm_device * dev, drm_i915_init_t * init)
* private backbuffer/depthbuffer usage.
*/
dev_priv->use_mi_batchbuffer_start = 0;
+ if (IS_I965G(dev))
+ dev_priv->use_mi_batchbuffer_start = 1;
+
/* Allow hardware batchbuffers unless told otherwise.
*/