mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Avoid err_inj CB registration for dGPU
Error injection is not supported on dGPU and dGPU's probe should not attempt any error injection callback function registration. Disable NvGPU's error injection support on dGPU by checking CONFIG_NVGPU_DGPU. Bug 3703060 Change-Id: Ie6f5af2636396e51000e8c2553d4e58a61c902d6 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2739265 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Kasinadha Dendukuri <kdendukuri@nvidia.com> Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-by: Chandra Meduri <msekhar@nvidia.com> Tested-by: Kasinadha Dendukuri <kdendukuri@nvidia.com>
This commit is contained in:
committed by
Chandra Meduri
parent
494dc19ee8
commit
5828594de1
@@ -199,9 +199,11 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_HSIERRRPTINJ),y)
|
||||
ifeq ($(CONFIG_NVGPU_ENABLE_MISC_EC),y)
|
||||
ifeq ($(CONFIG_NVGPU_DGPU),n)
|
||||
CONFIG_NVGPU_FSI_ERR_INJECTION := y
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_GK20A_PMU),y)
|
||||
ccflags-y += -DCONFIG_GK20A_PMU
|
||||
|
||||
Reference in New Issue
Block a user