diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-07 13:43:47 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-11 18:10:52 -0400 |
commit | c37c9baae65bcf0ef08a319488c09f57131026cc (patch) | |
tree | e3b4252bfff7436574a909dd625de49229d538da /drivers/gpu/nvgpu/gp10b/cde_gp10b.h | |
parent | 17451138cf60f5d64eed88cc5defd44981926d9d (diff) |
gpu: nvgpu: Move CDE code to Linux module
CDE is only used in Linux platforms, and the code is highly dependent
on Linux APIs. Move the common CDE code to Linux module and leave only
the chip specific parts to HAL.
Change-Id: I507fe7eceaf7607303dfdddcf438449a5f582ea7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1554755
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/cde_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/cde_gp10b.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/cde_gp10b.h b/drivers/gpu/nvgpu/gp10b/cde_gp10b.h index 3ee6027c..7ccfe560 100644 --- a/drivers/gpu/nvgpu/gp10b/cde_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/cde_gp10b.h | |||
@@ -21,6 +21,7 @@ struct sg_table; | |||
21 | 21 | ||
22 | void gp10b_cde_get_program_numbers(struct gk20a *g, | 22 | void gp10b_cde_get_program_numbers(struct gk20a *g, |
23 | u32 block_height_log2, | 23 | u32 block_height_log2, |
24 | u32 shader_parameter, | ||
24 | int *hprog_out, int *vprog_out); | 25 | int *hprog_out, int *vprog_out); |
25 | bool gp10b_need_scatter_buffer(struct gk20a *g); | 26 | bool gp10b_need_scatter_buffer(struct gk20a *g); |
26 | int gp10b_populate_scatter_buffer(struct gk20a *g, | 27 | int gp10b_populate_scatter_buffer(struct gk20a *g, |