sna: Flush dirty CPU damage before notifying the compositor

Fixes regression from a438e4ac (sna: Revamp vmap support)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-03-05 21:04:25 +00:00
parent d7600e4e77
commit f4846168a6
1 changed files with 2 additions and 1 deletions

View File

@ -11465,7 +11465,8 @@ sna_accel_reply_callback(CallbackListPtr *list,
if (sna->flush || !info->startOfReply)
return;
sna->flush = sna->kgem.flush || sna->kgem.sync;
sna->flush = (sna->kgem.flush || sna->kgem.sync ||
!list_is_empty(&sna->dirty_pixmaps));
}
static void