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 <rdevaraj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2185219
Reviewed-by: Raghuram Kothakota <rkothakota@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Rajesh Devaraj
2019-08-28 12:06:47 +05:30
committed by mobile promotions
parent 9a5ea7174d
commit 023912e46f

View File

@@ -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