summaryrefslogtreecommitdiff
path: root/src/i915_3d.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-10 11:05:20 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-10 15:19:08 +0000
commit67af5a99253b1295f8dc09b28863eb7dc8b59e1d (patch)
treea434b1f310c45d00affad115ede2ae92708d5a83 /src/i915_3d.c
parent998d6b3d8c549086fbc8a9f0e309694b23398d8d (diff)
Check that batch buffers are atomic.
Since batch buffers are rarely emitted by themselves but as part of a sequence of state and vertices, the whole sequence is emitted atomically. Here we just enforce that batches are marked as being part of an atomic sequence as appropriate. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_3d.c')
-rw-r--r--src/i915_3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_3d.c b/src/i915_3d.c
index e3b56741..517c6851 100644
--- a/src/i915_3d.c
+++ b/src/i915_3d.c
@@ -38,7 +38,7 @@ void I915EmitInvarientState(ScrnInfoPtr scrn)
{
intel_screen_private *intel = intel_get_screen_private(scrn);
- BEGIN_BATCH(24);
+ ATOMIC_BATCH(24);
OUT_BATCH(_3DSTATE_AA_CMD |
AA_LINE_ECAAR_WIDTH_ENABLE |