mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
tegra-pcie-dma: Disable CONFIG_PCIE_TEGRA_DMA for non-supported kernel
Disable CONFIG_PCIE_TEGRA_DMA for few kernel like jammy-src, stable and rhivos-1 where PCIE_TEGRA_DMA is not supported. Bug 4911768 Change-Id: I4c3a379a2bc9facff2744ae83300f3e12587ec17 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3237170 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
3b4ea40773
commit
b4c6c5f2a4
@@ -4,3 +4,4 @@
|
|||||||
# Kernel jammy-src specific environment variables to configure the OOT modules
|
# Kernel jammy-src specific environment variables to configure the OOT modules
|
||||||
|
|
||||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||||
|
subdir-ccflags-y += -DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ export NV_OOT_REALTEK_R8168_SKIP_BUILD=y
|
|||||||
export NV_OOT_REALTEK_RTL8822CE_SKIP_BUILD=y
|
export NV_OOT_REALTEK_RTL8822CE_SKIP_BUILD=y
|
||||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||||
export NV_OOT_REALTEK_RTL8852CE_SKIP_BUILD=y
|
export NV_OOT_REALTEK_RTL8852CE_SKIP_BUILD=y
|
||||||
|
subdir-ccflags-y += -DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE
|
||||||
|
|||||||
@@ -4,3 +4,4 @@
|
|||||||
# Kernel stable specific environment variables to configure the OOT modules
|
# Kernel stable specific environment variables to configure the OOT modules
|
||||||
|
|
||||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||||
|
subdir-ccflags-y += -DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE
|
||||||
|
|||||||
@@ -20,8 +20,10 @@
|
|||||||
#define TEGRA264_PCIE_DMA_MSI_LOCAL_VEC 4
|
#define TEGRA264_PCIE_DMA_MSI_LOCAL_VEC 4
|
||||||
#define TEGRA264_PCIE_DMA_MSI_REMOTE_VEC 5
|
#define TEGRA264_PCIE_DMA_MSI_REMOTE_VEC 5
|
||||||
|
|
||||||
|
#ifndef NV_CONFIG_PCIE_TEGRA_DMA_DISABLE
|
||||||
/** Enable generic PCIe DMA driver */
|
/** Enable generic PCIe DMA driver */
|
||||||
#define CONFIG_PCIE_TEGRA_DMA 1
|
#define CONFIG_PCIE_TEGRA_DMA 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief typedef to define various values for xfer status passed for dma_complete_t or
|
* @brief typedef to define various values for xfer status passed for dma_complete_t or
|
||||||
|
|||||||
Reference in New Issue
Block a user