diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/fifo_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/fifo_gp10b.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.h b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.h index da0e82a9..369bed9a 100644 --- a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B Fifo | 2 | * GP10B Fifo |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -18,8 +18,21 @@ | |||
18 | 18 | ||
19 | struct gpu_ops; | 19 | struct gpu_ops; |
20 | struct channel_gk20a; | 20 | struct channel_gk20a; |
21 | struct fifo_gk20a; | ||
22 | struct mmu_fault_info; | ||
21 | 23 | ||
22 | void gp10b_init_fifo(struct gpu_ops *gops); | 24 | int channel_gp10b_setup_ramfc(struct channel_gk20a *c, |
25 | u64 gpfifo_base, u32 gpfifo_entries, | ||
26 | unsigned long acquire_timeout, u32 flags); | ||
27 | u32 gp10b_fifo_get_pbdma_signature(struct gk20a *g); | ||
28 | int gp10b_fifo_resetup_ramfc(struct channel_gk20a *c); | ||
29 | int gp10b_fifo_engine_enum_from_type(struct gk20a *g, u32 engine_type, | ||
30 | u32 *inst_id); | ||
31 | void gp10b_device_info_data_parse(struct gk20a *g, u32 table_entry, | ||
32 | u32 *inst_id, u32 *pri_base, u32 *fault_id); | ||
33 | void gp10b_fifo_init_pbdma_intr_descs(struct fifo_gk20a *f); | ||
34 | void gp10b_fifo_get_mmu_fault_info(struct gk20a *g, u32 mmu_fault_id, | ||
35 | struct mmu_fault_info *mmfault); | ||
23 | int channel_gp10b_commit_userd(struct channel_gk20a *c); | 36 | int channel_gp10b_commit_userd(struct channel_gk20a *c); |
24 | 37 | ||
25 | #endif | 38 | #endif |