gpu: nvgpu: move chip specific channel HAL files to hal/fifo/

Moved the channel HAL files from common/fifo/ to hal/fifo

Jira NVGPU-3248

Change-Id: Ibb85b7c0e71422dbd774a518e4f0bba0b97ef807
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2123399
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Debarshi Dutta
2019-05-22 12:16:00 +05:30
committed by mobile promotions
parent 0eb0242bdd
commit 47dc0b9ebd
20 changed files with 37 additions and 37 deletions

View File

@@ -316,16 +316,7 @@ fifo:
children:
channel:
safe: yes
# Note: the chip channel code should be moved to hal/fifo/.
sources: [ common/fifo/channel_gk20a.c,
common/fifo/channel_gk20a.h,
common/fifo/channel_gm20b.c,
common/fifo/channel_gm20b.h,
common/fifo/channel_gv100.c,
common/fifo/channel_gv100.h,
common/fifo/channel_gv11b.c,
common/fifo/channel_gv11b.h,
common/fifo/channel.c,
sources: [ common/fifo/channel.c,
include/nvgpu/channel.h,
include/nvgpu/error_notifier.h ]
deps: [ ]

View File

@@ -158,7 +158,16 @@ fifo:
hal/fifo/runlist_ram_gv11b.h,
hal/fifo/runlist_ram_tu104.c,
hal/fifo/runlist_ram_tu104.h ]
channel:
safe: yes
sources: [ hal/fifo/channel_gk20a.c,
hal/fifo/channel_gk20a.h,
hal/fifo/channel_gm20b.c,
hal/fifo/channel_gm20b.h,
hal/fifo/channel_gv100.c,
hal/fifo/channel_gv100.h,
hal/fifo/channel_gv11b.c,
hal/fifo/channel_gv11b.h ]
tsg:
safe: yes
sources: [ hal/fifo/tsg_gv11b.h,

View File

@@ -308,6 +308,10 @@ nvgpu-y += \
hal/fifo/runlist_fifo_gv11b.o \
hal/fifo/runlist_fifo_gv100.o \
hal/fifo/runlist_fifo_tu104.o \
hal/fifo/channel_gk20a.o \
hal/fifo/channel_gm20b.o \
hal/fifo/channel_gv11b.o \
hal/fifo/channel_gv100.o \
hal/fifo/tsg_gk20a.o \
hal/fifo/tsg_gv11b.o \
hal/fifo/userd_gk20a.o \
@@ -554,10 +558,6 @@ nvgpu-y += \
common/fifo/submit.o \
common/fifo/tsg.o \
common/fifo/runlist.o \
common/fifo/channel_gk20a.o \
common/fifo/channel_gm20b.o \
common/fifo/channel_gv11b.o \
common/fifo/channel_gv100.o \
common/fifo/engine_status.o \
common/fifo/engines.o \
common/fifo/pbdma_status.o \

View File

@@ -181,10 +181,6 @@ srcs += common/sim/sim.c \
common/fifo/submit.c \
common/fifo/tsg.c \
common/fifo/runlist.c \
common/fifo/channel_gk20a.c \
common/fifo/channel_gm20b.c \
common/fifo/channel_gv11b.c \
common/fifo/channel_gv100.c \
common/fifo/engine_status.c \
common/fifo/engines.c \
common/fifo/pbdma_status.c \
@@ -402,6 +398,10 @@ srcs += common/sim/sim.c \
hal/fifo/runlist_fifo_gv11b.c \
hal/fifo/runlist_fifo_gv100.c \
hal/fifo/runlist_fifo_tu104.c \
hal/fifo/channel_gk20a.c \
hal/fifo/channel_gm20b.c \
hal/fifo/channel_gv11b.c \
hal/fifo/channel_gv100.c \
hal/fifo/tsg_gk20a.c \
hal/fifo/tsg_gv11b.c \
hal/fifo/userd_gk20a.c \

View File

@@ -76,7 +76,7 @@
#include "hal/init/hal_gp10b.h"
#include "hal/init/hal_gp10b_litter.h"
#include "common/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gm20b.h"
#include "common/clk_arb/clk_arb_gp10b.h"
#include "common/vgpu/fifo/fifo_vgpu.h"

View File

@@ -83,7 +83,7 @@
#include "hal/init/hal_gv11b.h"
#include "hal/init/hal_gv11b_litter.h"
#include "common/fifo/channel_gv11b.h"
#include "hal/fifo/channel_gv11b.h"
#include "common/clk_arb/clk_arb_gp10b.h"
#include <nvgpu/gk20a.h>

View File

@@ -99,8 +99,8 @@
#include "hal/top/top_gm20b.h"
#include "hal/clk/clk_gm20b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gk20a.h"
#include "hal/fifo/channel_gm20b.h"
#include "common/pmu/pg/pg_sw_gm20b.h"
#include "hal_gm20b.h"

View File

@@ -122,8 +122,8 @@
#include "common/pmu/pg/pg_sw_gm20b.h"
#include "common/pmu/pg/pg_sw_gp10b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gk20a.h"
#include "hal/fifo/channel_gm20b.h"
#include "common/clk_arb/clk_arb_gp10b.h"
#include "hal_gp10b.h"

View File

@@ -148,10 +148,10 @@
#include "hal/nvlink/link_mode_transitions_gv100.h"
#include "common/nvlink/nvlink_gv100.h"
#include "common/pmu/perf/perf_gv100.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"
#include "common/fifo/channel_gv100.h"
#include "hal/fifo/channel_gk20a.h"
#include "hal/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gv11b.h"
#include "hal/fifo/channel_gv100.h"
#include "common/vbios/bios_sw_gp106.h"
#include "common/vbios/bios_sw_gv100.h"

View File

@@ -139,9 +139,9 @@
#include "common/pmu/pg/pg_sw_gm20b.h"
#include "common/pmu/pg/pg_sw_gp106.h"
#include "common/pmu/pg/pg_sw_gv11b.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"
#include "hal/fifo/channel_gk20a.h"
#include "hal/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gv11b.h"
#include "common/clk_arb/clk_arb_gp10b.h"
#include "hal_gv11b.h"

View File

@@ -166,10 +166,10 @@
#include "hal/nvlink/link_mode_transitions_tu104.h"
#include "common/nvlink/nvlink_gv100.h"
#include "common/nvlink/nvlink_tu104.h"
#include "common/fifo/channel_gk20a.h"
#include "common/fifo/channel_gm20b.h"
#include "common/fifo/channel_gv11b.h"
#include "common/fifo/channel_gv100.h"
#include "hal/fifo/channel_gk20a.h"
#include "hal/fifo/channel_gm20b.h"
#include "hal/fifo/channel_gv11b.h"
#include "hal/fifo/channel_gv100.h"
#include "common/clk_arb/clk_arb_gv100.h"
#include "hal/clk/clk_gv100.h"

View File

@@ -35,7 +35,7 @@
#include <nvgpu/nvgpu_sgt.h>
#include <nvgpu/fifo.h>
#include "os/posix/os_posix.h"
#include "common/fifo/channel_gv11b.h"
#include "hal/fifo/channel_gv11b.h"
#include "hal/mm/mmu_fault/mmu_fault_gv11b.h"
#include "hal/mm/mm_gv11b.h"