From b928f10d37bdb57266569073d8b5d553dbf39044 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Fri, 28 Oct 2016 16:49:50 -0700 Subject: gpu: nvgpu: Start re-organizing the HW headers Reorganize the HW headers of gk20a. The headers are moved to a new directory: include/nvgpu/hw/gk20a And from the code are included like so: #include This is the first step in reorganizing all of the HW headers for gm20b, gm206, etc. This is part of a larger effort to re-structure and make the driver more readable and scalable. Bug 1799159 Change-Id: Ic151155cbc2e6f75009f2d9d597b364a1bed2c4c Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1244790 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 5 +++-- drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 3 ++- drivers/gpu/nvgpu/vgpu/vgpu.c | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/vgpu') diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index e9a2d582..339f2237 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c @@ -18,8 +18,9 @@ #include "vgpu/vgpu.h" #include "gk20a/ctxsw_trace_gk20a.h" -#include "gk20a/hw_fifo_gk20a.h" -#include "gk20a/hw_ram_gk20a.h" + +#include +#include static void vgpu_channel_bind(struct channel_gk20a *ch) { diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 02a5e87e..6cafc49f 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c @@ -14,9 +14,10 @@ */ #include "vgpu/vgpu.h" -#include "gk20a/hw_gr_gk20a.h" #include "gk20a/dbg_gpu_gk20a.h" +#include + static void vgpu_gr_detect_sm_arch(struct gk20a *g) { struct vgpu_priv_data *priv = vgpu_get_priv_data(g); diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index c3dba7d1..0ac79345 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c @@ -23,13 +23,14 @@ #include "vgpu/fecs_trace_vgpu.h" #include "gk20a/debug_gk20a.h" #include "gk20a/hal_gk20a.h" -#include "gk20a/hw_mc_gk20a.h" #include "gk20a/ctxsw_trace_gk20a.h" #include "gk20a/tsg_gk20a.h" #include "gk20a/gk20a_scale.h" #include "gk20a/channel_gk20a.h" #include "gm20b/hal_gm20b.h" +#include + #ifdef CONFIG_ARCH_TEGRA_18x_SOC #include "nvgpu_gpuid_t18x.h" #endif -- cgit v1.2.2