From 3c22c4d9af6819bb5749db8897c4ea24bc5291c4 Mon Sep 17 00:00:00 2001 From: Nicolas Benech Date: Fri, 21 Jun 2019 16:30:14 -0400 Subject: [PATCH] gpu: nvgpu: hal: add FUSA flag In order to separate HALs that are guaranted functionally safe from the ones that are not, this patch adds some FUSA related Makefile config and defines. JIRA NVGPU-3690 Change-Id: I0f4532f5fa413438fd0037c2289e87e5577e7e23 Signed-off-by: Nicolas Benech Reviewed-on: https://git-master.nvidia.com/r/2140893 GVS: Gerrit_Virtual_Submit Reviewed-by: Sagar Kamble Reviewed-by: Vijayakumar Subbu 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 55043e456..c47f016f6 100644 --- a/drivers/gpu/nvgpu/Makefile.shared.configs +++ b/drivers/gpu/nvgpu/Makefile.shared.configs @@ -157,5 +157,9 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_COMPRESSION CONFIG_NVGPU_CE := 1 NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_CE +# Enable non FUSA HALs for normal build +CONFIG_NVGPU_HAL_NON_FUSA := 1 +NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_HAL_NON_FUSA + endif endif