From 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 Mon Sep 17 00:00:00 2001 From: Yunhong Jiang Date: Tue, 4 Aug 2015 12:17:53 -0700 Subject: Add the rt linux 4.1.3-rt3 as base Import the rt linux 4.1.3-rt3 as OPNFV kvm base. It's from git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-4.1.y-rt and the base is: commit 0917f823c59692d751951bf5ea699a2d1e2f26a2 Author: Sebastian Andrzej Siewior Date: Sat Jul 25 12:13:34 2015 +0200 Prepare v4.1.3-rt3 Signed-off-by: Sebastian Andrzej Siewior We lose all the git history this way and it's not good. We should apply another opnfv project repo in future. Change-Id: I87543d81c9df70d99c5001fbdf646b202c19f423 Signed-off-by: Yunhong Jiang --- kernel/drivers/gpu/ipu-v3/Kconfig | 8 + kernel/drivers/gpu/ipu-v3/Makefile | 4 + kernel/drivers/gpu/ipu-v3/ipu-common.c | 1350 ++++++++++++++++++++++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-cpmem.c | 764 ++++++++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-csi.c | 741 ++++++++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-dc.c | 482 ++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-di.c | 756 ++++++++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-dmfc.c | 436 +++++++++++ kernel/drivers/gpu/ipu-v3/ipu-dp.c | 363 +++++++++ kernel/drivers/gpu/ipu-v3/ipu-ic.c | 778 ++++++++++++++++++ kernel/drivers/gpu/ipu-v3/ipu-prv.h | 223 ++++++ kernel/drivers/gpu/ipu-v3/ipu-smfc.c | 208 +++++ 12 files changed, 6113 insertions(+) create mode 100644 kernel/drivers/gpu/ipu-v3/Kconfig create mode 100644 kernel/drivers/gpu/ipu-v3/Makefile create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-common.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-cpmem.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-csi.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-dc.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-di.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-dmfc.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-dp.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-ic.c create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-prv.h create mode 100644 kernel/drivers/gpu/ipu-v3/ipu-smfc.c (limited to 'kernel/drivers/gpu/ipu-v3') diff --git a/kernel/drivers/gpu/ipu-v3/Kconfig b/kernel/drivers/gpu/ipu-v3/Kconfig new file mode 100644 index 000000000..aefdff953 --- /dev/null +++ b/kernel/drivers/gpu/ipu-v3/Kconfig @@ -0,0 +1,8 @@ +config IMX_IPUV3_CORE + tristate "IPUv3 core support" + depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM + depends on RESET_CONTROLLER + select GENERIC_IRQ_CHIP + help + Choose this if you have a i.MX5/6 system and want to use the Image + Processing Unit. This option only enables IPU base support. diff --git a/kernel/drivers/gpu/ipu-v3/Makefile b/kernel/drivers/gpu/ipu-v3/Makefile new file mode 100644 index 000000000..107ec236a --- /dev/null +++ b/kernel/drivers/gpu/ipu-v3/Makefile @@ -0,0 +1,4 @@ +obj-$(CONFIG_IMX_IPUV3_CORE) += imx-ipu-v3.o + +imx-ipu-v3-objs := ipu-common.o ipu-cpmem.o ipu-csi.o ipu-dc.o ipu-di.o \ + ipu-dp.o ipu-dmfc.o ipu-ic.o ipu-smfc.o diff --git a/kernel/drivers/gpu/ipu-v3/ipu-common.c b/kernel/drivers/gpu/ipu-v3/ipu-common.c new file mode 100644 index 000000000..67bab5c36 --- /dev/null +++ b/kernel/drivers/gpu/ipu-v3/ipu-common.c @@ -0,0 +1,1350 @@ +/* + * Copyright (c) 2010 Sascha Hauer + * Copyright (C) 2005-2009 Freescale Semiconductor, Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include