summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-01 23:43:15 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-01 23:44:05 +0100
commit146959dd5ef28384a3db4fce4bf7840f2b3ec58c (patch)
treec037ea48bf7ff9c9a27a7587cc37c18f3d9059e5 /src
parent7404e3085b2ee36fa24f77a02d156b4b1d2dff60 (diff)
sna: Drop the clear flag as we discard the GPU damage
Hopefully only to keep the sanity checks happy... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 06c9fcc8..496f57b4 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -388,6 +388,7 @@ sna_copy_init_blt(struct sna_copy_op *copy,
static void sna_pixmap_free_gpu(struct sna *sna, struct sna_pixmap *priv)
{
sna_damage_destroy(&priv->gpu_damage);
+ priv->clear = false;
if (priv->gpu_bo && !priv->pinned) {
kgem_bo_destroy(&sna->kgem, priv->gpu_bo);