Commit f75d1982 authored by Christian König's avatar Christian König Committed by Thierry Reding

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: default avatarChristian 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: default avatarThierry Reding <treding@nvidia.com>
parent 9eb75fbf
# 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 @@ ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment