/* * drivers/video/tegra/host/nvhost_sync.h * * Tegra Graphics Host Syncpoint Integration to linux/sync Framework * * Copyright (c) 2013, NVIDIA Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef __NVHOST_SYNC_H #define __NVHOST_SYNC_H #include #ifdef __KERNEL__ #include "../../../staging/android/sync.h" struct nvhost_syncpt; struct nvhost_ctrl_sync_fence_info; struct nvhost_sync_timeline; struct nvhost_sync_pt; struct nvhost_sync_timeline *nvhost_sync_timeline_create( struct nvhost_syncpt *sp, int id); void nvhost_sync_pt_signal(struct nvhost_sync_pt *pt); int nvhost_sync_create_fence( struct nvhost_syncpt *sp, struct nvhost_ctrl_sync_fence_info *pts, u32 num_pts, const char *name, s32 *fence_fd); #endif /* __KERNEL __ */ #endif /* __NVHOST_SYNC_H */