diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/subctx_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/subctx_gv11b.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h new file mode 100644 index 00000000..357cd254 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * | ||
3 | * Volta GPU series Subcontext | ||
4 | * | ||
5 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms and conditions of the GNU General Public License, | ||
9 | * version 2, as published by the Free Software Foundation. | ||
10 | * | ||
11 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | * more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along with | ||
17 | * this program. | ||
18 | */ | ||
19 | #ifndef __SUBCONTEXT_GV11B_H__ | ||
20 | #define __SUBCONTEXT_GV11B_H__ | ||
21 | |||
22 | int gv11b_alloc_subctx_header(struct channel_gk20a *c); | ||
23 | |||
24 | void gv11b_free_subctx_header(struct channel_gk20a *c); | ||
25 | |||
26 | int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va); | ||
27 | #endif /* __SUBCONTEXT_GV11B_H__ */ | ||