Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christian König and committed by
Thierry Reding
f75d1982 9eb75fbf

+3 -2
+1 -1
drivers/gpu/drm/tegra/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_TEGRA 3 3 tristate "NVIDIA Tegra DRM" 4 - depends on ARCH_TEGRA || (ARM && COMPILE_TEST) 4 + depends on ARCH_TEGRA || COMPILE_TEST 5 5 depends on COMMON_CLK 6 6 depends on DRM 7 7 depends on OF
+1
drivers/gpu/drm/tegra/gem.c
··· 13 13 #include <linux/dma-buf.h> 14 14 #include <linux/iommu.h> 15 15 #include <linux/module.h> 16 + #include <linux/vmalloc.h> 16 17 17 18 #include <drm/drm_drv.h> 18 19 #include <drm/drm_prime.h>
+1 -1
drivers/gpu/host1x/Kconfig
··· 5 5 6 6 config TEGRA_HOST1X 7 7 tristate "NVIDIA Tegra host1x driver" 8 - depends on ARCH_TEGRA || (ARM && COMPILE_TEST) 8 + depends on ARCH_TEGRA || COMPILE_TEST 9 9 select DMA_SHARED_BUFFER 10 10 select TEGRA_HOST1X_CONTEXT_BUS 11 11 select IOMMU_IOVA