blob: 2a8e04c830cc6172063f6c7d3467f646df1f7c2c [file] [log] [blame]
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index aab16e8..b413d83 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -3785,14 +3785,10 @@ VAStatus
i965_SyncSurface(VADriverContextP ctx,
VASurfaceID render_target)
{
- struct i965_driver_data *i965 = i965_driver_data(ctx);
- struct object_surface *obj_surface = SURFACE(render_target);
-
- ASSERT_RET(obj_surface, VA_STATUS_ERROR_INVALID_SURFACE);
-
- if (obj_surface->bo)
- drm_intel_bo_wait_rendering(obj_surface->bo);
-
+ /*
+ * No need to sync explicitly, as the driver will properly sync this
+ * surface before the next operation using it as its source begins.
+ */
return VA_STATUS_SUCCESS;
}