i915 XvMC: don't stall the cpu anymore

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@ffwll.ch>
Reviewed-by: Carl Worth <cworth@cworth.org>
This commit is contained in:
Daniel Vetter 2010-03-02 21:53:24 +01:00 committed by Carl Worth
parent 9bba123c5f
commit 47ae1181f6
1 changed files with 0 additions and 3 deletions

View File

@ -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,