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:
parent
9bba123c5f
commit
47ae1181f6
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue