summaryrefslogtreecommitdiff
path: root/src/sna/gen2_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-25 13:20:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-25 13:20:16 +0100
commit4e4d643794975b2ac90d04f1a11c0b8114699559 (patch)
treeda796ec613639d06321a20b0652042e48122de93 /src/sna/gen2_render.c
parentda0de7e55a9c1b64f3fb0d7b573bb61b0d2566df (diff)
sna: Fix overallocation of fences for BLT commands (gen2/3)
Fixes a regression introduced in commit 4d2840919fd00e4ae0bf1957f66009f55a01eb7b Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Sep 26 15:30:58 2013 +0100 sna: In desperation, query the actual available aperture space Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-rw-r--r--src/sna/gen2_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c
index 2ee534db..a0ba8ca8 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -1487,6 +1487,7 @@ gen2_composite_picture(struct sna *sna,
channel->is_opaque = false;
channel->is_affine = true;
channel->transform = NULL;
+ channel->card_format = -1;
if (sna_picture_is_solid(picture, &color))
return gen2_composite_solid_init(sna, channel, color);