From 023912e46fd47ede5a00573c1d6b99bd193b7f4d Mon Sep 17 00:00:00 2001 From: Rajesh Devaraj Date: Wed, 28 Aug 2019 12:06:47 +0530 Subject: [PATCH] gpu: nvgpu: enable hw error injection in standard build This patch enables hw error injection support in standard build. JIRA NVGPU-3755 Change-Id: I7744c95479666141fb23cd2714a6c6c7a1cfc35f Signed-off-by: Rajesh Devaraj Reviewed-on: https://git-master.nvidia.com/r/2185219 Reviewed-by: Raghuram Kothakota GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile.shared.configs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/Makefile.shared.configs b/drivers/gpu/nvgpu/Makefile.shared.configs index 54170c5e5..679c177dc 100644 --- a/drivers/gpu/nvgpu/Makefile.shared.configs +++ b/drivers/gpu/nvgpu/Makefile.shared.configs @@ -108,8 +108,6 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SYSFS NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FALCON_DEBUG -NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_INJECT_HWERR - # # Flags enabled only for regular build profile. # @@ -200,6 +198,9 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_FIFO_ENGINE_ACTIVITY CONFIG_NVGPU_DYNAMIC_BUSY_IDLE_SUPPORT := 1 NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_DYNAMIC_BUSY_IDLE_SUPPORT +# Enable HW based error injection support +NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_INJECT_HWERR + endif endif