gpu: nvgpu: disable debugger and CILP support in safety

Compile out debugger and CILP support from safety build

Jira NVGPU-3579

Change-Id: Ib8a880190ebcce946f8fb94ddb63dd2a90c5fce9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2126444
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-08-12 17:22:49 +05:30
committed by mobile promotions
parent bb2aee6d1a
commit 7b035d2bef

View File

@@ -61,14 +61,6 @@ NVGPU_COMMON_CFLAGS += \
-DCONFIG_TEGRA_GR_VIRTUALIZATION \
-DCONFIG_PCI_MSI
# Enable debugger APIs for safety build until devctl whitelisting is done
CONFIG_NVGPU_DEBUGGER := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_DEBUGGER
# Enable CILP preemption for safety build until devctl whitelisting is done
CONFIG_NVGPU_CILP := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CILP
# Enable Channel WDT for safety build until we switch to user mode submits only
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CHANNEL_WDT
@@ -130,6 +122,12 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_ACR_LEGACY
CONFIG_NVGPU_ENGINE_QUEUE := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_ENGINE_QUEUE
CONFIG_NVGPU_DEBUGGER := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_DEBUGGER
CONFIG_NVGPU_CILP := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CILP
CONFIG_NVGPU_CYCLESTATS := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CYCLESTATS