mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: disable KMDKickoff for safety build
Disable KMDKickoff for safety builds. Jira NVPU-3172 Change-Id: I96536066e5bae83179750d4bf15f77e115219ddd Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2142917 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
96fd5da100
commit
b2d8c4774f
@@ -61,18 +61,6 @@ NVGPU_COMMON_CFLAGS += \
|
||||
-DCONFIG_TEGRA_GR_VIRTUALIZATION \
|
||||
-DCONFIG_PCI_MSI
|
||||
|
||||
# Enable Channel WDT for safety build until we switch to user mode submits only
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CHANNEL_WDT
|
||||
|
||||
# Enable Kernel Mode submit for safety build until we switch to user mode
|
||||
# submits only
|
||||
CONFIG_NVGPU_KERNEL_MODE_SUBMIT := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_KERNEL_MODE_SUBMIT
|
||||
|
||||
# Enable fences for safety build till until we switch to user mode submits only
|
||||
CONFIG_NVGPU_FENCE := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FENCE
|
||||
|
||||
CONFIG_NVGPU_LOGGING := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_LOGGING
|
||||
|
||||
@@ -185,6 +173,18 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SET_FALCON_ACCESS_MAP
|
||||
CONFIG_NVGPU_SW_SEMAPHORE := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SW_SEMAPHORE
|
||||
|
||||
# Enable Channel WDT for safety build until we switch to user mode submits only
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CHANNEL_WDT
|
||||
|
||||
# Enable Kernel Mode submit for safety build until we switch to user mode
|
||||
# submits only
|
||||
CONFIG_NVGPU_KERNEL_MODE_SUBMIT := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_KERNEL_MODE_SUBMIT
|
||||
|
||||
# Enable fences for safety build till until we switch to user mode submits only
|
||||
CONFIG_NVGPU_FENCE := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FENCE
|
||||
|
||||
# Enable powergate lib for normal build
|
||||
CONFIG_NVGPU_USE_POWERGATE_LIB := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_USE_POWERGATE_LIB
|
||||
|
||||
@@ -292,7 +292,6 @@ nvgpu_thread_should_stop
|
||||
nvgpu_thread_stop
|
||||
nvgpu_thread_stop_graceful
|
||||
nvgpu_udelay
|
||||
nvgpu_userd_init_slabs
|
||||
nvgpu_usermode_writel
|
||||
nvgpu_usleep_range
|
||||
nvgpu_vfree_impl
|
||||
|
||||
Reference in New Issue
Block a user