gpu: nvgpu: nvs: plug nvs with common code

- Enabled CONFIG_NVS_PRESENT flag for QNX igpu
- Add common/nvs/* support for QNX

Jira NVGPU-8619

Change-Id: I309d009f072bb9aadb27585d634b0fbb2aab3c48
Signed-off-by: prsethi <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2754547
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: Dinesh T <dt@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
prsethi
2022-08-02 09:52:54 +00:00
committed by mobile promotions
parent 440cf0c75e
commit 427c7895ce
2 changed files with 9 additions and 0 deletions

View File

@@ -223,6 +223,10 @@ ifneq ($(CONFIG_NVGPU_DGPU),1)
ifneq ($(NVGPU_HVRTOS),1) ifneq ($(NVGPU_HVRTOS),1)
CONFIG_NVGPU_IGPU_VIRT := 1 CONFIG_NVGPU_IGPU_VIRT := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_IGPU_VIRT NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_IGPU_VIRT
CONFIG_NVS_PRESENT := 1
NVGPU_COMMON_CFLAGS += -DCONFIG_NVS_PRESENT
NVS_USE_IMPL_TYPES := 1
NVGPU_COMMON_CFLAGS += -DNVS_USE_IMPL_TYPES
endif endif
endif endif

View File

@@ -188,6 +188,11 @@ srcs += common/cic/mon/mon_ce.c \
common/cic/mon/mon_mmu.c common/cic/mon/mon_mmu.c
endif endif
ifeq ($(CONFIG_NVS_PRESENT),1)
srcs += common/nvs/nvs_sched_ctrl.c \
common/nvs/nvs_sched.c
endif
ifeq ($(CONFIG_NVGPU_GSP_SCHEDULER),1) ifeq ($(CONFIG_NVGPU_GSP_SCHEDULER),1)
srcs += common/gsp/gsp_init.c \ srcs += common/gsp/gsp_init.c \
common/gsp/gsp_bootstrap.c \ common/gsp/gsp_bootstrap.c \