summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/ipu-v3/Kconfig
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-12-19 12:32:53 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-12-19 12:49:11 +0100
commit4cfea3c1f2718d945ca44c1aaac47d8d513c4478 (patch)
tree8dc309bb145bd575e8ba06566a8d00ee11dc8e64 /drivers/gpu/ipu-v3/Kconfig
parentdrm/imx: advertise supported plane format modifiers (diff)
downloadlinux-4cfea3c1f2718d945ca44c1aaac47d8d513c4478.tar.xz
linux-4cfea3c1f2718d945ca44c1aaac47d8d513c4478.zip
gpu: ipu-v3: allow to build with COMPILE_TEST
Add missing include <linux/sizes.h> in ipu-cpmem and ipu-ic, select BITREVERSE for ipu-cpmem and GENERIC_ALLOCATOR for ipu-pre, and allow to build if COMPILE_TEST is enabled. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/ipu-v3/Kconfig')
-rw-r--r--drivers/gpu/ipu-v3/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/ipu-v3/Kconfig b/drivers/gpu/ipu-v3/Kconfig
index 87a20b3dcf7a..fe6f8c5b4445 100644
--- a/drivers/gpu/ipu-v3/Kconfig
+++ b/drivers/gpu/ipu-v3/Kconfig
@@ -1,7 +1,9 @@
config IMX_IPUV3_CORE
tristate "IPUv3 core support"
- depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM
+ depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM || COMPILE_TEST
depends on DRM || !DRM # if DRM=m, this can't be 'y'
+ select BITREVERSE
+ select GENERIC_ALLOCATOR if DRM
select GENERIC_IRQ_CHIP
help
Choose this if you have a i.MX5/6 system and want to use the Image