video: tegra: nvdla: Bring Kernel Mode Driver up for Orin

Add new device node support for NVDLA in Kernel Mode Driver.

Change-Id: I050b5cbfd83b366b848bc92628deed83d43f0896
Jira: DLA-3099
Signed-off-by: Sudeshna <sguha@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2322119
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@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:
Sudeshna
2020-04-01 18:52:15 +05:30
committed by Laxman Dewangan
parent bd8b6299e5
commit e793ebb2f8
2 changed files with 19 additions and 1 deletions

View File

@@ -17,3 +17,9 @@ nvhost-nvdla-objs = \
obj-$(CONFIG_TEGRA_GRHOST_NVDLA) += nvhost-nvdla.o
endif
ifdef CONFIG_TEGRA_T23X_GRHOST
ccflags-y += -I$(srctree.nvidia-t23x)/drivers/video/tegra/host
endif

View File

@@ -37,7 +37,9 @@
#include "nvhost_syncpt_unit_interface.h"
#include "t194/t194.h"
#ifdef CONFIG_TEGRA_T23X_GRHOST
#include "t23x/t23x.h"
#endif
#include "nvdla/nvdla.h"
#include "nvdla/dla_queue.h"
@@ -695,6 +697,16 @@ static struct of_device_id tegra_nvdla_of_match[] = {
.name = "nvdla1",
.compatible = "nvidia,tegra194-nvdla",
.data = (struct nvhost_device_data *)&t19_nvdla1_info },
#ifdef CONFIG_TEGRA_T23X_GRHOST
{
.name = "nvdla0",
.compatible = "nvidia,tegra234-nvdla",
.data = (struct nvhost_device_data *)&t23x_nvdla0_info },
{
.name = "nvdla1",
.compatible = "nvidia,tegra234-nvdla",
.data = (struct nvhost_device_data *)&t23x_nvdla1_info },
#endif
{ },
};