From 48ef56104dc5499eeae7c4d518885e57ab819c4f Mon Sep 17 00:00:00 2001 From: Sagar Kadamati Date: Fri, 30 Sep 2022 06:36:53 +0000 Subject: [PATCH] nvgpu: add nvgpu checker config * Add config details needed to enable checkers for safety build Jira NVGPU-8885 Change-Id: I02862d95589336077c742f6bd06721b11c2754cc Signed-off-by: Sagar Kadamati Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2807391 Tested-by: mobile promotions Reviewed-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 828b9d024..b038ca7b1 100644 --- a/drivers/gpu/nvgpu/Makefile.shared.configs +++ b/drivers/gpu/nvgpu/Makefile.shared.configs @@ -117,6 +117,10 @@ NVGPU_COMMON_CFLAGS += \ CONFIG_NVGPU_MON_PRESENT := 1 NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_MON_PRESENT +# Enable ASIL-D checkers +CONFIG_NVGPU_CHECKER := 1 +NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CHECKER=1 + ## For tesing of CTXSW FW error codes manually, enable below configs in safety build. ## Enable only one config at a time, because only one error can be tested at a time. # NVGPU_COMMON_CFLAGS += \