diff options
Diffstat (limited to 'drivers/gpu/pvr/services4/srvkm/env/linux/pvr_counting_timeline.h')
-rw-r--r-- | drivers/gpu/pvr/services4/srvkm/env/linux/pvr_counting_timeline.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/services4/srvkm/env/linux/pvr_counting_timeline.h b/drivers/gpu/pvr/services4/srvkm/env/linux/pvr_counting_timeline.h new file mode 100644 index 000000000000..ce5cc44299f9 --- /dev/null +++ b/drivers/gpu/pvr/services4/srvkm/env/linux/pvr_counting_timeline.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /*************************************************************************/ /*! | ||
2 | @File | ||
3 | @Codingstyle LinuxKernel | ||
4 | @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved | ||
5 | @License Strictly Confidential. | ||
6 | */ /**************************************************************************/ | ||
7 | |||
8 | #if !defined(__PVR_COUNTING_TIMELINE_H__) | ||
9 | #define __PVR_COUNTING_TIMELINE_H__ | ||
10 | |||
11 | #include "pvr_dma_fence.h" | ||
12 | |||
13 | struct PVR_COUNTING_FENCE_TIMELINE; | ||
14 | |||
15 | struct PVR_COUNTING_FENCE_TIMELINE *pvr_counting_fence_timeline_create(const char *name); | ||
16 | |||
17 | void pvr_counting_fence_timeline_put(struct PVR_COUNTING_FENCE_TIMELINE *psFenceTimeline); | ||
18 | |||
19 | struct PVR_COUNTING_FENCE_TIMELINE *pvr_counting_fence_timeline_get(struct PVR_COUNTING_FENCE_TIMELINE *psFenceTimeline); | ||
20 | |||
21 | struct dma_fence *pvr_counting_fence_create(struct PVR_COUNTING_FENCE_TIMELINE *psFenceTimeline, u64 value); | ||
22 | |||
23 | void pvr_counting_fence_timeline_inc(struct PVR_COUNTING_FENCE_TIMELINE *psFenceTimeline, u64 value); | ||
24 | |||
25 | void pvr_counting_fence_timeline_force_complete(struct PVR_COUNTING_FENCE_TIMELINE *psFenceTimeline); | ||
26 | |||
27 | #endif /* !defined(__PVR_COUNTING_TIMELINE_H__) */ | ||