forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/i915/selftests/lib_sw_fence.h
....@@ -1,10 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * lib_sw_fence.h - library routines for testing N:M synchronisation points
34 *
45 * Copyright (C) 2017 Intel Corporation
5
- *
6
- * This file is released under the GPLv2.
7
- *
86 */
97
108 #ifndef _LIB_SW_FENCE_H_
....@@ -39,4 +37,7 @@
3937 void timed_fence_init(struct timed_fence *tf, unsigned long expires);
4038 void timed_fence_fini(struct timed_fence *tf);
4139
40
+struct i915_sw_fence *heap_fence_create(gfp_t gfp);
41
+void heap_fence_put(struct i915_sw_fence *fence);
42
+
4243 #endif /* _LIB_SW_FENCE_H_ */