[PATCH v5 4/4] drm: synchronize BOs when required