From ccba95757033292d881671e575aed5e0feb61dc3 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Thu, 7 Apr 2016 15:35:51 -0700 Subject: gpu: nvgpu: add support for t19x Add build and gpu framework support for t19x. Bug 1735757 Change-Id: I4b7c6468871ca27412a6f9be20f744bc730b4142 Signed-off-by: Seshendra Gadagottu Reviewed-on: http://git-master/r/1122093 GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams --- drivers/gpu/nvgpu/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/gpu/nvgpu/Makefile') diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile index 1d712d57..8cd5cc7c 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile @@ -15,6 +15,12 @@ ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/include/uapi endif +ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) +ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/drivers/gpu/nvgpu +ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include +ccflags-y += -I$(srctree)/../kernel-nvgpu-t19x/include/uapi +endif + obj-$(CONFIG_GK20A) := nvgpu.o nvgpu-y := \ @@ -100,3 +106,7 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \ ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) include ../kernel-nvgpu-t18x/drivers/gpu/nvgpu/Makefile endif + +ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) +include ../kernel-nvgpu-t19x/drivers/gpu/nvgpu/Makefile +endif -- cgit v1.2.2