gpu: nvgpu: ltc: move chip specific files to hal

Move ltc chip speciifc files to hal from common

JIRA NVGPU-2044

Change-Id: If3f5e77fce1dfa94336e1be616833cef5b91839b
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2070186
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Seshendra Gadagottu
2019-03-11 16:44:17 -07:00
committed by mobile promotions
parent 6be73f561a
commit a15d1fa72c
18 changed files with 27 additions and 29 deletions

View File

@@ -75,10 +75,6 @@ nvgpu-y += \
common/regops/regops_gv11b.o \
common/regops/regops_tu104.o \
common/ltc/ltc.o \
common/ltc/ltc_gm20b.o \
common/ltc/ltc_gp10b.o \
common/ltc/ltc_gv11b.o \
common/ltc/ltc_tu104.o \
common/gr/gr.o \
common/cbc/cbc.o \
common/gr/ctxsw_prog/ctxsw_prog_gm20b.o \
@@ -190,6 +186,10 @@ nvgpu-y += \
hal/therm/therm_gp10b.o \
hal/therm/therm_gp106.o \
hal/therm/therm_gv11b.o \
hal/ltc/ltc_gm20b.o \
hal/ltc/ltc_gp10b.o \
hal/ltc/ltc_gv11b.o \
hal/ltc/ltc_tu104.o \
hal/fuse/fuse_gm20b.o \
hal/fuse/fuse_gp10b.o \
hal/fuse/fuse_gp106.o \

View File

@@ -98,9 +98,6 @@ srcs += common/sim.c \
common/rbtree.c \
common/ltc/ltc.c \
common/cbc/cbc.c \
common/ltc/ltc_gm20b.c \
common/ltc/ltc_gp10b.c \
common/ltc/ltc_gv11b.c \
common/io/io.c \
common/ecc.c \
common/ce2.c \
@@ -295,7 +292,6 @@ srcs += common/sim.c \
gv100/gsp_gv100.c \
gv100/clk_gv100.c \
common/fb/fb_tu104.c \
common/ltc/ltc_tu104.c \
common/mc/mc_tu104.c \
tu104/bios_tu104.c \
tu104/ecc_tu104.c \
@@ -355,6 +351,10 @@ srcs += common/sim.c \
hal/therm/therm_gp10b.c \
hal/therm/therm_gv11b.c \
hal/therm/therm_gp106.c \
hal/ltc/ltc_gm20b.c \
hal/ltc/ltc_gp10b.c \
hal/ltc/ltc_gv11b.c \
hal/ltc/ltc_tu104.c \
hal/fuse/fuse_gm20b.c \
hal/fuse/fuse_gp10b.c \
hal/fuse/fuse_gp106.c \

View File

@@ -25,6 +25,8 @@
#include "hal/fifo/engines_gm20b.h"
#include "hal/therm/therm_gm20b.h"
#include "hal/therm/therm_gp10b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "common/fb/fb_gm20b.h"
#include "common/fb/fb_gp10b.h"
@@ -34,8 +36,6 @@
#include "common/gr/config/gr_config_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gm20b.h"
#include "common/perf/perf_gm20b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/regops/regops_gp10b.h"
#include "common/fifo/runlist_gk20a.h"
#include "common/fifo/channel_gm20b.h"

View File

@@ -28,6 +28,9 @@
#include "hal/therm/therm_gv11b.h"
#include "hal/gr/zbc/zbc_gv11b.h"
#include "hal/gr/hwpm_map/hwpm_map_gv100.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "hal/ltc/ltc_gv11b.h"
#include "common/fb/fb_gm20b.h"
#include "common/fb/fb_gp10b.h"
@@ -38,9 +41,6 @@
#include "common/gr/ctxsw_prog/ctxsw_prog_gv11b.h"
#include "common/gr/fecs_trace/fecs_trace_gv11b.h"
#include "common/perf/perf_gv11b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/ltc/ltc_gv11b.h"
#include "common/sync/syncpt_cmdbuf_gv11b.h"
#include "common/sync/sema_cmdbuf_gv11b.h"
#include "common/regops/regops_gv11b.h"

View File

@@ -43,6 +43,7 @@
#include "hal/power_features/cg/gm20b_gating_reglist.h"
#include "hal/cbc/cbc_gm20b.h"
#include "hal/therm/therm_gm20b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fifo/engines_gm20b.h"
#include "hal/gr/zbc/zbc_gm20b.h"
@@ -54,7 +55,6 @@
#include "common/netlist/netlist_gm20b.h"
#include "common/gr/ctxsw_prog/ctxsw_prog_gm20b.h"
#include "common/gr/config/gr_config_gm20b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/mc/mc_gm20b.h"
#include "common/perf/perf_gm20b.h"
#include "common/pmu/pmu_gk20a.h"

View File

@@ -48,6 +48,8 @@
#include "hal/cbc/cbc_gp10b.h"
#include "hal/therm/therm_gm20b.h"
#include "hal/therm/therm_gp10b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fifo/engines_gm20b.h"
@@ -65,8 +67,6 @@
#include "common/gr/config/gr_config_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gp10b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/mc/mc_gm20b.h"
#include "common/mc/mc_gp10b.h"
#include "common/perf/perf_gm20b.h"

View File

@@ -34,6 +34,9 @@
#include "hal/therm/therm_gp106.h"
#include "hal/therm/therm_gp10b.h"
#include "hal/therm/therm_gv11b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "hal/ltc/ltc_gv11b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fuse/fuse_gp106.h"
@@ -57,9 +60,6 @@
#include "common/gr/ctxsw_prog/ctxsw_prog_gv11b.h"
#include "common/gr/config/gr_config_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gm20b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/ltc/ltc_gv11b.h"
#include "common/top/top_gm20b.h"
#include "common/top/top_gp10b.h"
#include "common/top/top_gv100.h"

View File

@@ -37,6 +37,9 @@
#include "hal/therm/therm_gm20b.h"
#include "hal/therm/therm_gp10b.h"
#include "hal/therm/therm_gv11b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "hal/ltc/ltc_gv11b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fifo/engines_gv11b.h"
@@ -58,9 +61,6 @@
#include "common/gr/config/gr_config_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gv11b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/ltc/ltc_gv11b.h"
#include "common/mc/mc_gm20b.h"
#include "common/mc/mc_gp10b.h"
#include "common/mc/mc_gv11b.h"

View File

@@ -36,8 +36,6 @@
#include "cbc_tu104.h"
#include "common/ltc/ltc_gv11b.h"
u64 tu104_cbc_get_base_divisor(struct gk20a *g)
{

View File

@@ -31,7 +31,7 @@
#include "ltc_tu104.h"
#include "common/ltc/ltc_gv11b.h"
#include "ltc_gv11b.h"
#include <nvgpu/hw/tu104/hw_ltc_tu104.h>

View File

@@ -36,6 +36,10 @@
#include "hal/therm/therm_gp10b.h"
#include "hal/therm/therm_gp106.h"
#include "hal/therm/therm_gv11b.h"
#include "hal/ltc/ltc_gm20b.h"
#include "hal/ltc/ltc_gp10b.h"
#include "hal/ltc/ltc_gv11b.h"
#include "hal/ltc/ltc_tu104.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fuse/fuse_gp106.h"
@@ -62,10 +66,6 @@
#include "common/gr/config/gr_config_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gm20b.h"
#include "common/gr/fecs_trace/fecs_trace_gv11b.h"
#include "common/ltc/ltc_gm20b.h"
#include "common/ltc/ltc_gp10b.h"
#include "common/ltc/ltc_gv11b.h"
#include "common/ltc/ltc_tu104.h"
#include "common/mc/mc_gm20b.h"
#include "common/mc/mc_gp10b.h"
#include "common/mc/mc_gv11b.h"