Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cfea3c1 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 37aca51b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
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
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
#include <linux/types.h>
#include <linux/bitrev.h>
#include <linux/io.h>
#include <linux/sizes.h>
#include <drm/drm_fourcc.h>
#include "ipu-prv.h"

+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include <linux/bitrev.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/sizes.h>
#include "ipu-prv.h"

/* IC Register Offsets */