drm/tegra: Allow compile test on !ARM v2
This compile tests on x86 just perfectly fine. v2: fix missing include complained by kernel test robot Signed-off-by: Christian König <christian.koenig@amd.com> CC: Thierry Reding <thierry.reding@gmail.com> CC: Jonathan Hunter <jonathanh@nvidia.com> CC: linux-tegra@vger.kernel.org Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
9eb75fbf05
commit
f75d19827b
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
config DRM_TEGRA
|
config DRM_TEGRA
|
||||||
tristate "NVIDIA Tegra DRM"
|
tristate "NVIDIA Tegra DRM"
|
||||||
depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
depends on COMMON_CLK
|
depends on COMMON_CLK
|
||||||
depends on DRM
|
depends on DRM
|
||||||
depends on OF
|
depends on OF
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <linux/dma-buf.h>
|
#include <linux/dma-buf.h>
|
||||||
#include <linux/iommu.h>
|
#include <linux/iommu.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
#include <linux/vmalloc.h>
|
||||||
|
|
||||||
#include <drm/drm_drv.h>
|
#include <drm/drm_drv.h>
|
||||||
#include <drm/drm_prime.h>
|
#include <drm/drm_prime.h>
|
||||||
|
|
|
@ -5,7 +5,7 @@ config TEGRA_HOST1X_CONTEXT_BUS
|
||||||
|
|
||||||
config TEGRA_HOST1X
|
config TEGRA_HOST1X
|
||||||
tristate "NVIDIA Tegra host1x driver"
|
tristate "NVIDIA Tegra host1x driver"
|
||||||
depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
|
depends on ARCH_TEGRA || COMPILE_TEST
|
||||||
select DMA_SHARED_BUFFER
|
select DMA_SHARED_BUFFER
|
||||||
select TEGRA_HOST1X_CONTEXT_BUS
|
select TEGRA_HOST1X_CONTEXT_BUS
|
||||||
select IOMMU_IOVA
|
select IOMMU_IOVA
|
||||||
|
|
Loading…
Reference in New Issue