mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 04:30:25 +01:00
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:
parent
ff7edad077
commit
dd1500b8b4
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue