From 9198891b4e1d336a77137a9327de05acc10896e2 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 22 Feb 2016 16:11:45 +0200 Subject: [PATCH] drm/omap: remove dss compat code We have removed all the uses of compat code from omapdrm and the non-compat parts of omapdss, so now we can remove all the compat code itself. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/Makefile | 3 - drivers/gpu/drm/omapdrm/dss/apply.c | 1711 ------------------- drivers/gpu/drm/omapdrm/dss/dispc-compat.c | 667 -------- drivers/gpu/drm/omapdrm/dss/dispc-compat.h | 30 - drivers/gpu/drm/omapdrm/dss/dispc.c | 4 - drivers/gpu/drm/omapdrm/dss/display-sysfs.c | 356 ---- drivers/gpu/drm/omapdrm/dss/dss.h | 37 - drivers/gpu/drm/omapdrm/dss/manager-sysfs.c | 531 ------ drivers/gpu/drm/omapdrm/dss/manager.c | 263 --- drivers/gpu/drm/omapdrm/dss/overlay-sysfs.c | 456 ----- drivers/gpu/drm/omapdrm/dss/overlay.c | 202 --- 11 files changed, 4260 deletions(-) delete mode 100644 drivers/gpu/drm/omapdrm/dss/apply.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/dispc-compat.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/dispc-compat.h delete mode 100644 drivers/gpu/drm/omapdrm/dss/display-sysfs.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/manager-sysfs.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/manager.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/overlay-sysfs.c delete mode 100644 drivers/gpu/drm/omapdrm/dss/overlay.c diff --git a/drivers/gpu/drm/omapdrm/dss/Makefile b/drivers/gpu/drm/omapdrm/dss/Makefile index b5136d3d4b77..b651ec9751e6 100644 --- a/drivers/gpu/drm/omapdrm/dss/Makefile +++ b/drivers/gpu/drm/omapdrm/dss/Makefile @@ -3,9 +3,6 @@ obj-$(CONFIG_OMAP2_DSS) += omapdss.o # Core DSS files omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ output.o dss-of.o pll.o video-pll.o -# DSS compat layer files -omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \ - dispc-compat.o display-sysfs.o omapdss-$(CONFIG_OMAP2_DSS_DPI) += dpi.o omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o diff --git a/drivers/gpu/drm/omapdrm/dss/apply.c b/drivers/gpu/drm/omapdrm/dss/apply.c deleted file mode 100644 index 1b7c718c08b2..000000000000 --- a/drivers/gpu/drm/omapdrm/dss/apply.c +++ /dev/null @@ -1,1711 +0,0 @@ -/* - * Copyright (C) 2011 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