From c37c9baae65bcf0ef08a319488c09f57131026cc Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 7 Sep 2017 10:43:47 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1554755 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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; #include "pmu_gk20a.h" #include "priv_ring_gk20a.h" #include "therm_gk20a.h" -#include "cde_gk20a.h" #include "sched_gk20a.h" #ifdef CONFIG_ARCH_TEGRA_18x_SOC #include "clk/clk.h" @@ -928,6 +927,7 @@ struct gpu_ops { struct { void (*get_program_numbers)(struct gk20a *g, u32 block_height_log2, + u32 shader_parameter, int *hprog, int *vprog); bool (*need_scatter_buffer)(struct gk20a *g); int (*populate_scatter_buffer)(struct gk20a *g, @@ -1217,7 +1217,6 @@ struct gk20a { struct gk20a_sched_ctrl sched_ctrl; - struct gk20a_cde_app cde_app; bool mmu_debug_ctrl; u32 tpc_fs_mask_user; -- cgit v1.2.2