diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/channel.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/channel.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.h b/drivers/gpu/nvgpu/common/linux/channel.h new file mode 100644 index 00000000..785c03d6 --- /dev/null +++ b/drivers/gpu/nvgpu/common/linux/channel.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #ifndef __NVGPU_CHANNEL_H__ | ||
17 | #define __NVGPU_CHANNEL_H__ | ||
18 | |||
19 | #include <nvgpu/types.h> | ||
20 | |||
21 | struct channel_gk20a; | ||
22 | struct nvgpu_gpfifo; | ||
23 | struct nvgpu_submit_gpfifo_args; | ||
24 | struct nvgpu_fence; | ||
25 | struct gk20a_fence; | ||
26 | struct fifo_profile_gk20a; | ||
27 | |||
28 | int gk20a_submit_channel_gpfifo(struct channel_gk20a *c, | ||
29 | struct nvgpu_gpfifo *gpfifo, | ||
30 | struct nvgpu_submit_gpfifo_args *args, | ||
31 | u32 num_entries, | ||
32 | u32 flags, | ||
33 | struct nvgpu_fence *fence, | ||
34 | struct gk20a_fence **fence_out, | ||
35 | bool force_need_sync_fence, | ||
36 | struct fifo_profile_gk20a *profile); | ||
37 | |||
38 | #endif /* __NVGPU_CHANNEL_H__ */ | ||