diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-03-02 21:53:24 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-03-04 09:38:38 -0800 |
commit | 47ae1181f6cfd2ab64cd5c8535289fdaa2a9fd9c (patch) | |
tree | 7c91fb27142a781e1490b684c6e62c9ec0249f70 /src/xvmc | |
parent | 9bba123c5f0f081562306c152e70221fc5041a3b (diff) |
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>
Diffstat (limited to 'src/xvmc')
-rw-r--r-- | 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 fcd2866c..337b2cee 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, |