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>
This commit is contained in:
Chris Wilson 2012-08-01 23:43:15 +01:00
parent 7404e3085b
commit 146959dd5e
1 changed files with 1 additions and 0 deletions

View File

@ -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);