nouveau: wait for sync after m2mf also, to be thourough.

These will all go away at some point I promise, want to rule out sync issues
while I bash nv40 into shape.
This commit is contained in:
Ben Skeggs 2007-11-21 19:21:34 +11:00
parent ff7edad077
commit dd1500b8b4

View file

@ -64,6 +64,14 @@ nv04_region_copy_m2mf(struct nouveau_context *nv, struct pipe_region *dst,
dst_offset += dst->pitch * count;
}
nouveau_notifier_reset(nv->sync_notifier, 0);
BEGIN_RING(NvM2MF, 0x104, 1);
OUT_RING (0);
BEGIN_RING(NvM2MF, 0x100, 1);
OUT_RING (0);
FIRE_RING();
nouveau_notifier_wait_status(nv->sync_notifier, 0, 0, 2000);
return 0;
}