diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 22:25:35 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 22:25:35 +1100 |
commit | 897c96aacc6fbc08936eaf48955c15259e36caf7 (patch) | |
tree | 2285d5f904388933400a9058a429cd04291a7fa4 /src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c | |
parent | f58f4e0f0ecc6c7079ef52f4a417707843507fab (diff) |
nouveau: downgrade hacked syncs to hacked flushes
Unfortunately we still need to keep the forced flushes as mesa's vbo path
is still insane. But, at least this is a little less brutal. The bo code will
detect when it needs to do a sync.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c b/src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c index 2525476a79..2a95b1fcd3 100644 --- a/src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c +++ b/src/mesa/drivers/dri/nouveau_winsys/nv50_surface.c @@ -82,13 +82,7 @@ nv50_surface_copy(struct nouveau_context *nv, unsigned dx, unsigned dy, static void nv50_surface_copy_done(struct nouveau_context *nv) { - nouveau_notifier_reset(nv->sync_notifier, 0); - BEGIN_RING(Nv2D, 0x104, 1); - OUT_RING (0); - BEGIN_RING(Nv2D, 0x100, 1); - OUT_RING (0); FIRE_RING(); - nouveau_notifier_wait_status(nv->sync_notifier, 0, 0, 2000); } static int @@ -134,13 +128,7 @@ nv50_surface_fill(struct nouveau_context *nv, struct pipe_surface *dst, OUT_RING (dx + w); OUT_RING (dy + h); - nouveau_notifier_reset(nv->sync_notifier, 0); - BEGIN_RING(Nv2D, 0x104, 1); - OUT_RING (0); - BEGIN_RING(Nv2D, 0x100, 1); - OUT_RING (0); FIRE_RING(); - nouveau_notifier_wait_status(nv->sync_notifier, 0, 0, 2000); return 0; } |