gpu: nvgpu: create common.hal.regops unit

Create common.hal.regops unit by moving all regops chip files under
hal/ directory

Update Makefiles and include paths accordingly

Jira NVGPU-2037

Change-Id: Iac1833b8916d919f7d448d17f5dd7a853760f55c
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2094288
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-04-10 18:00:53 +05:30
committed by mobile promotions
parent 8664b3be6c
commit 88c8baa29f
19 changed files with 17 additions and 17 deletions

View File

@@ -57,11 +57,6 @@ nvgpu-y += \
common/boardobj/boardobjgrp_e255.o \
common/boardobj/boardobjgrp_e32.o \
common/regops/regops.o \
common/regops/regops_gm20b.o \
common/regops/regops_gp10b.o \
common/regops/regops_gv100.o \
common/regops/regops_gv11b.o \
common/regops/regops_tu104.o \
common/ltc/ltc.o \
common/cbc/cbc.o \
common/gr/gr.o \
@@ -206,6 +201,11 @@ nvgpu-y += \
hal/cbc/cbc_gp10b.o \
hal/cbc/cbc_gv11b.o \
hal/cbc/cbc_tu104.o \
hal/regops/regops_gm20b.o \
hal/regops/regops_gp10b.o \
hal/regops/regops_gv100.o \
hal/regops/regops_gv11b.o \
hal/regops/regops_tu104.o \
hal/therm/therm_gm20b.o \
hal/therm/therm_gp10b.o \
hal/therm/therm_gp106.o \

View File

@@ -196,11 +196,6 @@ srcs += common/sim.c \
common/boardobj/boardobjgrp_e255.c \
common/boardobj/boardobjgrp_e32.c \
common/regops/regops.c \
common/regops/regops_gm20b.c \
common/regops/regops_gp10b.c \
common/regops/regops_gv100.c \
common/regops/regops_gv11b.c \
common/regops/regops_tu104.c \
common/pmu/super_surface/super_surface.c \
common/pmu/lsfm/lsfm.c \
common/pmu/lsfm/lsfm_sw_gm20b.c \
@@ -338,6 +333,11 @@ srcs += common/sim.c \
hal/cbc/cbc_gp10b.c \
hal/cbc/cbc_gv11b.c \
hal/cbc/cbc_tu104.c \
hal/regops/regops_gm20b.c \
hal/regops/regops_gp10b.c \
hal/regops/regops_gv100.c \
hal/regops/regops_gv11b.c \
hal/regops/regops_tu104.c \
hal/therm/therm_gm20b.c \
hal/therm/therm_gp10b.c \
hal/therm/therm_gv11b.c \

View File

@@ -22,6 +22,7 @@
#include "hal/bus/bus_gk20a.h"
#include "hal/bus/bus_gm20b.h"
#include "hal/regops/regops_gp10b.h"
#include "hal/fifo/engines_gm20b.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/pbdma_gp10b.h"
@@ -47,7 +48,6 @@
#include "hal/netlist/netlist_gp10b.h"
#include "hal/perf/perf_gm20b.h"
#include "common/regops/regops_gp10b.h"
#include "common/fifo/channel_gm20b.h"
#include "common/clk_arb/clk_arb_gp10b.h"

View File

@@ -22,6 +22,7 @@
#include "hal/bus/bus_gk20a.h"
#include "hal/bus/bus_gm20b.h"
#include "hal/regops/regops_gv11b.h"
#include "hal/fifo/engines_gv11b.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/pbdma_gp10b.h"
@@ -62,7 +63,6 @@
#include "common/sync/syncpt_cmdbuf_gv11b.h"
#include "common/sync/sema_cmdbuf_gv11b.h"
#include "common/regops/regops_gv11b.h"
#include "common/fifo/channel_gv11b.h"
#include "common/clk_arb/clk_arb_gp10b.h"

View File

@@ -56,6 +56,7 @@
#include "hal/ltc/intr/ltc_intr_gm20b.h"
#include "hal/fb/fb_gm20b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/regops/regops_gm20b.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/engines_gm20b.h"
#include "hal/fifo/engine_status_gm20b.h"
@@ -88,7 +89,6 @@
#include "common/top/top_gm20b.h"
#include "common/sync/syncpt_cmdbuf_gk20a.h"
#include "common/sync/sema_cmdbuf_gk20a.h"
#include "common/regops/regops_gm20b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"

View File

@@ -65,6 +65,7 @@
#include "hal/fb/fb_gp10b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/regops/regops_gp10b.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/pbdma_gp10b.h"
#include "hal/fifo/engines_gm20b.h"
@@ -110,7 +111,6 @@
#include "common/top/top_gp10b.h"
#include "common/sync/syncpt_cmdbuf_gk20a.h"
#include "common/sync/sema_cmdbuf_gk20a.h"
#include "common/regops/regops_gp10b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/clk_arb/clk_arb_gp10b.h"

View File

@@ -52,6 +52,7 @@
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fuse/fuse_gp106.h"
#include "hal/regops/regops_gv100.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/pbdma_gp10b.h"
#include "hal/fifo/pbdma_gv11b.h"
@@ -122,7 +123,6 @@
#include "common/pmu/perf/perf_gv100.h"
#include "common/sync/syncpt_cmdbuf_gv11b.h"
#include "common/sync/sema_cmdbuf_gv11b.h"
#include "common/regops/regops_gv100.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"

View File

@@ -55,6 +55,7 @@
#include "hal/fb/intr/fb_intr_gv11b.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/regops/regops_gv11b.h"
#include "hal/fifo/pbdma_gm20b.h"
#include "hal/fifo/pbdma_gp10b.h"
#include "hal/fifo/pbdma_gv11b.h"
@@ -112,7 +113,6 @@
#include "common/top/top_gp10b.h"
#include "common/sync/syncpt_cmdbuf_gv11b.h"
#include "common/sync/sema_cmdbuf_gv11b.h"
#include "common/regops/regops_gv11b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"

View File

@@ -53,6 +53,7 @@
#include "hal/fb/fb_gv100.h"
#include "hal/fb/fb_tu104.h"
#include "hal/fb/intr/fb_intr_tu104.h"
#include "hal/regops/regops_tu104.h"
#include "hal/fuse/fuse_gm20b.h"
#include "hal/fuse/fuse_gp10b.h"
#include "hal/fuse/fuse_gp106.h"
@@ -130,7 +131,6 @@
#include "common/nvlink/nvlink_tu104.h"
#include "common/sync/syncpt_cmdbuf_gv11b.h"
#include "common/sync/sema_cmdbuf_gv11b.h"
#include "common/regops/regops_tu104.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"