mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: enable graphics config for all builds
Enable CONFIG_NVGPU_GRAPHICS in safety builds along with regular builds. This is first step to enable graphics use cases in safety build. Jira NVGPU-6460 Change-Id: Ic29f1a5d2554df5a5500c3e59eee3ce690272ca3 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2513676 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c08719cb0b
commit
3648fe4655
@@ -69,6 +69,9 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_TEGRA_GK20A_NVHOST
|
|||||||
CONFIG_NVGPU_SYNCFD_NONE := 1
|
CONFIG_NVGPU_SYNCFD_NONE := 1
|
||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SYNCFD_NONE
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SYNCFD_NONE
|
||||||
|
|
||||||
|
CONFIG_NVGPU_GRAPHICS := 1
|
||||||
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_GRAPHICS
|
||||||
|
|
||||||
ifeq ($(profile),$(filter $(profile),safety_debug safety_release))
|
ifeq ($(profile),$(filter $(profile),safety_debug safety_release))
|
||||||
|
|
||||||
# Enable golden context verification only for safety debug/release build
|
# Enable golden context verification only for safety debug/release build
|
||||||
@@ -182,10 +185,6 @@ endif
|
|||||||
CONFIG_NVGPU_USE_3LSS_ERR_INJECTION := 1
|
CONFIG_NVGPU_USE_3LSS_ERR_INJECTION := 1
|
||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_USE_3LSS_ERR_INJECTION
|
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
|
|
||||||
|
|
||||||
# Enable nvlink support for normal build.
|
# Enable nvlink support for normal build.
|
||||||
CONFIG_NVGPU_NVLINK := 1
|
CONFIG_NVGPU_NVLINK := 1
|
||||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_NVLINK
|
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_NVLINK
|
||||||
|
|||||||
Reference in New Issue
Block a user