gpu: nvgpu: unit: move gv11b reg spaces to unit/fifo

Move gv11b reg spaces initializations to unit/fifo, so that
it can be re-used by all fifo sub-units.

Jira NVGPU-3476

Change-Id: I9dd8564e71cb1b4c90a6a7df856e6eeadfedc649
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2120585
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-05-16 15:09:53 -07:00
committed by mobile promotions
parent 1d1acaaa5e
commit 20d611b081
4 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
.SUFFIXES:
OBJS = nvgpu-tsg.o nvgpu-fifo-gv11b.o
OBJS = nvgpu-tsg.o ../nvgpu-fifo-gv11b.o
MODULE = nvgpu-tsg
include ../../Makefile.units

View File

@@ -36,7 +36,7 @@
#include "hal/init/hal_gv11b.h"
#include "nvgpu-fifo-gv11b.h"
#include "../nvgpu-fifo-gv11b.h"
struct test_tsg_args {
bool init_done;