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:
parent
7404e3085b
commit
146959dd5e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue