.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * lib_sw_fence.h - library routines for testing N:M synchronisation points |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2017 Intel Corporation |
---|
5 | | - * |
---|
6 | | - * This file is released under the GPLv2. |
---|
7 | | - * |
---|
8 | 6 | */ |
---|
9 | 7 | |
---|
10 | 8 | #ifndef _LIB_SW_FENCE_H_ |
---|
.. | .. |
---|
39 | 37 | void timed_fence_init(struct timed_fence *tf, unsigned long expires); |
---|
40 | 38 | void timed_fence_fini(struct timed_fence *tf); |
---|
41 | 39 | |
---|
| 40 | +struct i915_sw_fence *heap_fence_create(gfp_t gfp); |
---|
| 41 | +void heap_fence_put(struct i915_sw_fence *fence); |
---|
| 42 | + |
---|
42 | 43 | #endif /* _LIB_SW_FENCE_H_ */ |
---|