diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 13:37:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 13:37:52 +0000 |
commit | ec1ccb6bf6a984cbe3317e636d7ff73887348a46 (patch) | |
tree | fd0736f3c416b8857f9b8969dd9aff257abd2595 | |
parent | 58f634b792c6d109c5f2374a3e24d759e744abb4 (diff) |
sna: Set the damage for render->copy_boxes to NULL before use
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen2_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen3_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen4_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen5_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen6_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen7_render.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 1e0c680e..3db9ce73 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -2870,6 +2870,7 @@ fallback: tmp.dst.format = sna_format_for_depth(dst->drawable.depth); tmp.dst.bo = dst_bo; tmp.dst.x = tmp.dst.y = 0; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height) || diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index b9afdb9a..0f0345c4 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -3859,6 +3859,7 @@ fallback_blt: tmp.dst.format = sna_format_for_depth(dst->drawable.depth); tmp.dst.bo = dst_bo; tmp.dst.x = tmp.dst.y = 0; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height) || diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index 530251c7..459b428f 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -2466,6 +2466,7 @@ fallback_blt: tmp.dst.height = dst->drawable.height; tmp.dst.x = tmp.dst.y = 0; tmp.dst.bo = dst_bo; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height)) { diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c index 487d903e..7246ed68 100644 --- a/src/sna/gen5_render.c +++ b/src/sna/gen5_render.c @@ -2781,6 +2781,7 @@ fallback_blt: tmp.dst.height = dst->drawable.height; tmp.dst.x = tmp.dst.y = 0; tmp.dst.bo = dst_bo; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height)) { diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index d337b300..59372f86 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -3259,6 +3259,7 @@ fallback_blt: tmp.dst.height = dst->drawable.height; tmp.dst.bo = dst_bo; tmp.dst.x = tmp.dst.y = 0; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height)) { diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index 2e9948d7..8a5d95cf 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -3243,6 +3243,7 @@ fallback_blt: tmp.dst.height = dst->drawable.height; tmp.dst.bo = dst_bo; tmp.dst.x = tmp.dst.y = 0; + tmp.damage = NULL; sna_render_composite_redirect_init(&tmp); if (too_large(tmp.dst.width, tmp.dst.height)) { |