summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/cde_gp10b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-09-28 13:34:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-17 13:43:39 -0400
commitb252653ac5f2b12a9a84476f9dde6a844a77a602 (patch)
treed2ca5a3f56c652db2e30e21409f3f1ab1994d0a3 /drivers/gpu/nvgpu/gp10b/cde_gp10b.h
parent5c5b52dce54fa09d16ae38a232a0e17b4729b472 (diff)
gpu: nvgpu: Move rest of CDE structures to Linux
Move rest of CDE structures to common/linux. This includes moving the per-chip firmware file interpretation functions, and removing CDE ops from HAL and adding it to nvgpu_os_linux. JIRA NVGPU-259 Change-Id: I59d8f44bddadecef81ad3c455b363a14034c5e13 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1570403 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.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/cde_gp10b.h b/drivers/gpu/nvgpu/gp10b/cde_gp10b.h
deleted file mode 100644
index a03e8078..00000000
--- a/drivers/gpu/nvgpu/gp10b/cde_gp10b.h
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2 * GP10B CDE
3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 */
24
25#ifndef _NVHOST_GP10B_CDE
26#define _NVHOST_GP10B_CDE
27
28struct gk20a;
29struct sg_table;
30
31void gp10b_cde_get_program_numbers(struct gk20a *g,
32 u32 block_height_log2,
33 u32 shader_parameter,
34 int *hprog_out, int *vprog_out);
35bool gp10b_need_scatter_buffer(struct gk20a *g);
36int gp10b_populate_scatter_buffer(struct gk20a *g,
37 struct sg_table *sgt,
38 size_t surface_size,
39 void *scatter_buffer_ptr,
40 size_t scatter_buffer_size);
41
42#endif