From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZD6CH-0000dc-MM for barebox@lists.infradead.org; Thu, 09 Jul 2015 07:24:44 +0000 From: Sascha Hauer Date: Thu, 9 Jul 2015 09:24:15 +0200 Message-Id: <1436426657-5266-12-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1436426657-5266-1-git-send-email-s.hauer@pengutronix.de> References: <1436426657-5266-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 11/13] video: ipuv3: Replace ipu_output with VPL To: Barebox List The ipuv3 makes heavy use of video encoders internally to the SoC but also external encoders are common. Switch to VPL support to be able to handle these properly. Signed-off-by: Sascha Hauer --- drivers/video/imx-ipu-v3/Kconfig | 1 + drivers/video/imx-ipu-v3/imx-hdmi.c | 93 +++++++++++----------- drivers/video/imx-ipu-v3/imx-ipu-v3.h | 24 ++---- drivers/video/imx-ipu-v3/imx-ldb.c | 116 +++++++++++++++++++++------- drivers/video/imx-ipu-v3/ipufb.c | 141 ++++++++++++++-------------------- 5 files changed, 197 insertions(+), 178 deletions(-) diff --git a/drivers/video/imx-ipu-v3/Kconfig b/drivers/video/imx-ipu-v3/Kconfig index 2ca9132..386ff5b 100644 --- a/drivers/video/imx-ipu-v3/Kconfig +++ b/drivers/video/imx-ipu-v3/Kconfig @@ -1,6 +1,7 @@ config DRIVER_VIDEO_IMX_IPUV3 bool "i.MX IPUv3 driver" depends on ARCH_IMX + select VIDEO_VPL help Support the IPUv3 found on Freescale i.MX51/53/6 SoCs diff --git a/drivers/video/imx-ipu-v3/imx-hdmi.c b/drivers/video/imx-ipu-v3/imx-hdmi.c index e01bfe8..f5a2e3c 100644 --- a/drivers/video/imx-ipu-v3/imx-hdmi.c +++ b/drivers/video/imx-ipu-v3/imx-hdmi.c @@ -23,6 +23,7 @@ #include #include #include +#include