summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-03-17 09:11:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-03-17 09:20:41 +0000
commit31d5f84bb4416ef92abd97264d52cdab7a184687 (patch)
treefa46c68e8c603cedbf98889a1101488164d06292
parentd6b7f96fde1add92fd11f5a75869ae6fc688bf77 (diff)
downloadxf86-video-intel-31d5f84bb4416ef92abd97264d52cdab7a184687.tar.gz
xf86-video-intel-31d5f84bb4416ef92abd97264d52cdab7a184687.tar.bz2
xf86-video-intel-31d5f84bb4416ef92abd97264d52cdab7a184687.zip
i915: Correct preamble for emit_composite
Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=27123 Fatal server error: i915_emit_composite_setup: ADVANCE_BATCH: under-used allocation 100/104 Introduced with commit d6b7f96fde1add92fd11f5a75869ae6fc688bf77. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/i915_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index c4aa9a447..819b96360 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -504,7 +504,7 @@ static void i915_emit_composite_setup(ScrnInfoPtr scrn)
tex_count += ! is_solid_src;
tex_count += mask && ! is_solid_mask;
- t = 16;
+ t = 15;
if (tex_count)
t += 6 * tex_count + 4;
if (is_solid_src)