diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/cde_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/cde_gp10b.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/cde_gp10b.h b/drivers/gpu/nvgpu/os/linux/cde_gp10b.h index 52e9f292..3ecca2ab 100644 --- a/drivers/gpu/nvgpu/os/linux/cde_gp10b.h +++ b/drivers/gpu/nvgpu/os/linux/cde_gp10b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B CDE | 2 | * GP10B CDE |
3 | * | 3 | * |
4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -27,6 +27,14 @@ | |||
27 | 27 | ||
28 | #include "os_linux.h" | 28 | #include "os_linux.h" |
29 | 29 | ||
30 | extern struct nvgpu_os_linux_ops gp10b_cde_ops; | 30 | void gp10b_cde_get_program_numbers(struct gk20a *g, |
31 | 31 | u32 block_height_log2, | |
32 | u32 shader_parameter, | ||
33 | int *hprog_out, int *vprog_out); | ||
34 | bool gp10b_need_scatter_buffer(struct gk20a *g); | ||
35 | int gp10b_populate_scatter_buffer(struct gk20a *g, | ||
36 | struct sg_table *sgt, | ||
37 | size_t surface_size, | ||
38 | void *scatter_buffer_ptr, | ||
39 | size_t scatter_buffer_size); | ||
32 | #endif | 40 | #endif |