From 4205eb71372e5bff17de6fbdc033c75f402626da Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 24 Oct 2012 12:39:53 +0300 Subject: [PATCH] --- yaml --- r: 344684 b: refs/heads/master c: bb39813413db782cc77b94d55cb5d044f42079df h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/omap2/dss/Makefile | 2 +- trunk/drivers/video/omap2/dss/apply.c | 1 + trunk/drivers/video/omap2/dss/dispc-compat.c | 207 +++++++++++++++++++ trunk/drivers/video/omap2/dss/dispc-compat.h | 24 +++ trunk/drivers/video/omap2/dss/dispc.c | 175 ---------------- trunk/drivers/video/omap2/dss/dss.h | 2 - 7 files changed, 234 insertions(+), 179 deletions(-) create mode 100644 trunk/drivers/video/omap2/dss/dispc-compat.c create mode 100644 trunk/drivers/video/omap2/dss/dispc-compat.h diff --git a/[refs] b/[refs] index f53b3c538ffc..a080e6cea0ae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1550202d4a7593655a2aca99e39a58751073c92a +refs/heads/master: bb39813413db782cc77b94d55cb5d044f42079df diff --git a/trunk/drivers/video/omap2/dss/Makefile b/trunk/drivers/video/omap2/dss/Makefile index af866d0b7942..c834f9c42008 100644 --- a/trunk/drivers/video/omap2/dss/Makefile +++ b/trunk/drivers/video/omap2/dss/Makefile @@ -1,7 +1,7 @@ obj-$(CONFIG_OMAP2_DSS) += omapdss.o omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ manager.o manager-sysfs.o overlay.o overlay-sysfs.o output.o apply.o \ - display-sysfs.o + display-sysfs.o dispc-compat.o omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o venc_panel.o diff --git a/trunk/drivers/video/omap2/dss/apply.c b/trunk/drivers/video/omap2/dss/apply.c index 5952f149c91a..0de0d3cf1764 100644 --- a/trunk/drivers/video/omap2/dss/apply.c +++ b/trunk/drivers/video/omap2/dss/apply.c @@ -27,6 +27,7 @@ #include "dss.h" #include "dss_features.h" +#include "dispc-compat.h" /* * We have 4 levels of cache for the dispc settings. First two are in SW and diff --git a/trunk/drivers/video/omap2/dss/dispc-compat.c b/trunk/drivers/video/omap2/dss/dispc-compat.c new file mode 100644 index 000000000000..cca38488ab27 --- /dev/null +++ b/trunk/drivers/video/omap2/dss/dispc-compat.c @@ -0,0 +1,207 @@ +/* + * Copyright (C) 2012 Texas Instruments + * Author: Tomi Valkeinen + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published by + * the Free Software Foundation. + * + * 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. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . + */ + +#define DSS_SUBSYS_NAME "APPLY" + +#include +#include +#include +#include +#include +#include + +#include