From e36f30ec5bb6d6db2f1f73dac3c33c6d4738e597 Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Wed, 22 Apr 2020 13:45:29 +0300 Subject: [PATCH] video: tegra: host: Separate GoS code from syncpoint shim code GoS and syncpoint shim support are not really related, so separate them out and make GoS support optional via config symbol. Jira HOSTX-2016 Change-Id: I25990f34e39db7dddf3a2e4b06917e4c458230a7 Signed-off-by: Mikko Perttunen Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2351143 Reviewed-by: automaticguardword Reviewed-by: Konsta Holtta Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/nvdla.c | 1 + drivers/video/tegra/host/nvdla/nvdla_queue.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/tegra/host/nvdla/nvdla.c b/drivers/video/tegra/host/nvdla/nvdla.c index ad514e78..7ec77834 100644 --- a/drivers/video/tegra/host/nvdla/nvdla.c +++ b/drivers/video/tegra/host/nvdla/nvdla.c @@ -36,6 +36,7 @@ #include "flcn/flcn.h" #include "flcn/hw_flcn.h" #include "nvhost_syncpt_unit_interface.h" +#include "nvhost_gos.h" #include "t194/t194.h" #ifdef CONFIG_TEGRA_T23X_GRHOST diff --git a/drivers/video/tegra/host/nvdla/nvdla_queue.c b/drivers/video/tegra/host/nvdla/nvdla_queue.c index fa075ed5..3faec2fc 100644 --- a/drivers/video/tegra/host/nvdla/nvdla_queue.c +++ b/drivers/video/tegra/host/nvdla/nvdla_queue.c @@ -33,6 +33,7 @@ #include "nvhost_acm.h" #include "nvhost_syncpt_unit_interface.h" +#include "nvhost_gos.h" #include "nvdla/nvdla.h" #include "nvdla/dla_queue.h"