summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-19 16:29:19 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-19 16:29:19 +0100
commitf4c32af48b0c92a48131090886a6a6b6c45dbe34 (patch)
tree892707054fd58ff29444ff1ce7b82770b63732ed
parent299232bdb69c8c2b6231905e0f45e9cfe74fe09a (diff)
sna: Clear the damage along with the BO when forcing the stall for inplace BLT
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56180 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_blt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c
index 7410eb11..fd97255c 100644
--- a/src/sna/sna_blt.c
+++ b/src/sna/sna_blt.c
@@ -1899,6 +1899,7 @@ put:
if (tmp->dst.bo == priv->cpu_bo) {
DBG(("%s: forcing the stall to overwrite a busy CPU bo\n", __FUNCTION__));
tmp->dst.bo = NULL;
+ tmp->damage = NULL;
}
}
}