From b5acb44f2f04b8ae4707fceca03df9dca4b0b4ef Mon Sep 17 00:00:00 2001 From: Rajesh Devaraj Date: Tue, 26 Nov 2019 14:38:54 +0530 Subject: [PATCH] gpu: nvgpu: add flag to enable the usage of 3lss error injection support This patch introduces the flag CONFIG_NVGPU_3LSS_ERR_INJECTION to enable the usage of 3lss error injection support in non-safety build (DEV PCT). JIRA ESS-4206 Change-Id: I9081d6073e66d3657b4cf8b5ee691f031555739a Signed-off-by: Rajesh Devaraj Reviewed-on: https://git-master.nvidia.com/r/2247708 Reviewed-by: Thomas Fleury Reviewed-by: Raghuram Kothakota GVS: Gerrit_Virtual_Submit Reviewed-by: Ankur Kishore Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile.shared.configs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/nvgpu/Makefile.shared.configs b/drivers/gpu/nvgpu/Makefile.shared.configs index 1a82c79ea..be254a6c9 100644 --- a/drivers/gpu/nvgpu/Makefile.shared.configs +++ b/drivers/gpu/nvgpu/Makefile.shared.configs @@ -114,6 +114,10 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FECS_TRACE CONFIG_NVGPU_IGPU_VIRT := 1 NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_IGPU_VIRT +# Enable the usage of 3LSS error injection features. +CONFIG_NVGPU_USE_3LSS_ERR_INJECTION := 1 +NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_USE_3LSS_ERR_INJECTION + # Enable Graphics support for normal build CONFIG_NVGPU_GRAPHICS := 1 NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_GRAPHICS