sna: Mark SHM userptr bo as unreusable

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-08-11 10:25:40 +01:00
parent 6448801050
commit 59359dba64
1 changed files with 1 additions and 0 deletions

View File

@ -819,6 +819,7 @@ fallback:
}
priv->cpu_bo->flush = true;
priv->cpu_bo->pitch = pitch;
priv->cpu_bo->reusable = false;
sna_accel_watch_flush(sna, 1);
priv->cpu = true;