summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-09-07 13:43:47 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-11 18:10:52 -0400
commitc37c9baae65bcf0ef08a319488c09f57131026cc (patch)
treee3b4252bfff7436574a909dd625de49229d538da /drivers/gpu/nvgpu/gk20a/gk20a.h
parent17451138cf60f5d64eed88cc5defd44981926d9d (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/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index ab715bdc..69cb2253 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -60,7 +60,6 @@ struct nvgpu_cpu_time_correlation_sample;
60#include "pmu_gk20a.h" 60#include "pmu_gk20a.h"
61#include "priv_ring_gk20a.h" 61#include "priv_ring_gk20a.h"
62#include "therm_gk20a.h" 62#include "therm_gk20a.h"
63#include "cde_gk20a.h"
64#include "sched_gk20a.h" 63#include "sched_gk20a.h"
65#ifdef CONFIG_ARCH_TEGRA_18x_SOC 64#ifdef CONFIG_ARCH_TEGRA_18x_SOC
66#include "clk/clk.h" 65#include "clk/clk.h"
@@ -928,6 +927,7 @@ struct gpu_ops {
928 struct { 927 struct {
929 void (*get_program_numbers)(struct gk20a *g, 928 void (*get_program_numbers)(struct gk20a *g,
930 u32 block_height_log2, 929 u32 block_height_log2,
930 u32 shader_parameter,
931 int *hprog, int *vprog); 931 int *hprog, int *vprog);
932 bool (*need_scatter_buffer)(struct gk20a *g); 932 bool (*need_scatter_buffer)(struct gk20a *g);
933 int (*populate_scatter_buffer)(struct gk20a *g, 933 int (*populate_scatter_buffer)(struct gk20a *g,
@@ -1217,7 +1217,6 @@ struct gk20a {
1217 1217
1218 struct gk20a_sched_ctrl sched_ctrl; 1218 struct gk20a_sched_ctrl sched_ctrl;
1219 1219
1220 struct gk20a_cde_app cde_app;
1221 bool mmu_debug_ctrl; 1220 bool mmu_debug_ctrl;
1222 1221
1223 u32 tpc_fs_mask_user; 1222 u32 tpc_fs_mask_user;