From b252653ac5f2b12a9a84476f9dde6a844a77a602 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 28 Sep 2017 10:34:27 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1570403 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c') diff --git a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c index 618c80f8..fc9b0e83 100644 --- a/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c +++ b/drivers/gpu/nvgpu/vgpu/gm20b/vgpu_hal_gm20b.c @@ -42,7 +42,6 @@ #include "gm20b/pmu_gm20b.h" #include "gm20b/fb_gm20b.h" #include "gm20b/bus_gm20b.h" -#include "gm20b/cde_gm20b.h" #include "gm20b/regops_gm20b.h" #include "gm20b/clk_gm20b.h" #include "gm20b/therm_gm20b.h" @@ -438,9 +437,6 @@ static const struct gpu_ops vgpu_gm20b_ops = { .perfbuffer_enable = vgpu_perfbuffer_enable, .perfbuffer_disable = vgpu_perfbuffer_disable, }, - .cde = { - .get_program_numbers = gm20b_cde_get_program_numbers, - }, .bus = { .init_hw = gk20a_bus_init_hw, .isr = gk20a_bus_isr, @@ -501,7 +497,6 @@ int vgpu_gm20b_init_hal(struct gk20a *g) gops->mc = vgpu_gm20b_ops.mc; gops->dbg_session_ops = vgpu_gm20b_ops.dbg_session_ops; gops->debug = vgpu_gm20b_ops.debug; - gops->cde = vgpu_gm20b_ops.cde; gops->bus = vgpu_gm20b_ops.bus; #if defined(CONFIG_GK20A_CYCLE_STATS) gops->css = vgpu_gm20b_ops.css; -- cgit v1.2.2