[Intel-gfx] [PATCH 14/18] i915 XvMC: don't stall the cpu anymore
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Mar 2 21:53:24 CET 2010
Proper bo management ensures that the cpu doesn't step on buffers
used by the gpu. Drop the now unnecessary synchronization.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
src/xvmc/intel_batchbuffer.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/xvmc/intel_batchbuffer.c b/src/xvmc/intel_batchbuffer.c
index fcd2866..337b2ce 100644
--- a/src/xvmc/intel_batchbuffer.c
+++ b/src/xvmc/intel_batchbuffer.c
@@ -99,9 +99,6 @@ void intelFlushBatch(Bool refill)
xvmc_driver->batch.ptr - xvmc_driver->batch.init_ptr,
0, 0, 0);
- if (xvmc_driver == &i915_xvmc_mc_driver)
- dri_bo_wait_rendering(xvmc_driver->batch.buf);
-
drm_intel_bo_unreference(xvmc_driver->batch.buf);
if ((xvmc_driver->batch.buf =
drm_intel_bo_alloc(xvmc_driver->bufmgr,
--
1.6.6.1
More information about the Intel-gfx
mailing list