Revert "gpu: nvgpu: add turing support"

This reverts commit 27686d8b56316c7ad772dd91548e91516d59f3b1.

Change-Id: Iebda705858edbd58c10ca3024a4ad060401485b6
Signed-off-by: David Gilhooley <dgilhooley@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1918612
This commit is contained in:
David Gilhooley
2018-10-03 15:06:46 -07:00
committed by Abdul Salam
parent 51244d6112
commit b74a4dbd26
84 changed files with 17 additions and 29863 deletions

View File

@@ -39,6 +39,8 @@ CORE_OUT=$(OUT)/nvgpu_unit_core
# Nvgpu driver code.
NVGPU_SRC=$(TWD)/../drivers/gpu/nvgpu
NVGPU_OUT=$(OUT)/libnvgpu
# Nvgpu_next driver code.
NVGPU_NEXT_SRC=$(TWD)/../../nvgpu-next/drivers/gpu/nvgpu
# Unit tests themselves.
UNIT_SRC=$(TWD)/units
@@ -47,6 +49,8 @@ UNIT_OUT=$(OUT)/units
INCLUDES= \
-I$(NVGPU_SRC) \
-I$(NVGPU_SRC)/include \
-I$(NVGPU_NEXT_SRC) \
-I$(NVGPU_NEXT_SRC)/include \
-I$(TWD)/../include \
-I$(TWD)/../include/uapi \
-I$(TWD)/include
@@ -107,6 +111,14 @@ $(NVGPU_OUT)/%.o : $(NVGPU_SRC)/%.c $(HEADERS)
fi
$(CC) --coverage $(CFLAGS) $(configs) -c -o $@ $<
# Default build target for all the nvgpu-next driver object files we want to
# build in userspace. These too get bundled into libnvgpu-drv.so.
$(NVGPU_OUT)/%.o : $(NVGPU_NEXT_SRC)/%.c $(HEADERS) $(HEADERS_NEXT)
@if [ ! -d $(dir $@) ] ; then \
mkdir -p $(dir $@) ; \
fi
$(CC) --coverage $(CFLAGS) $(configs) -c -o $@ $<
# Build target for unit test files. These are not part of the libnvgpu-drv.so.
# These comprise the unit test framework.
$(CORE_OUT)/%.o : $(CORE_SRC)/%.c $(CORE_HEADERS)

View File

@@ -21,8 +21,9 @@
# DEALINGS IN THE SOFTWARE.
include $(NVGPU_SRC)/Makefile.sources
-include $(NVGPU_NEXT_SRC)/Makefile.sources
OBJS := $(srcs:%.c=$(NVGPU_OUT)/%.o)
OBJS := $(srcs:%.c=$(NVGPU_OUT)/%.o) $(srcs_next:%.c=$(NVGPU_OUT)/%.o)
HEADERS := \
$(NVGPU_SRC)/include/nvgpu/*.h \
@@ -30,8 +31,7 @@ HEADERS := \
$(NVGPU_SRC)/gk20a/*.h \
$(NVGPU_SRC)/gm20b/*.h \
$(NVGPU_SRC)/gp10b/*.h \
$(NVGPU_SRC)/gv11b/*.h \
$(NVGPU_SRC)/tu104/*.h
$(NVGPU_SRC)/gv11b/*.h
CORE_OBJS := \
$(CORE_OUT)/unit_main.o \