From patchwork Fri Apr 27 15:09:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10369157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA5DC602DC for ; Fri, 27 Apr 2018 15:09:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7F342936D for ; Fri, 27 Apr 2018 15:09:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BEA529381; Fri, 27 Apr 2018 15:09:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 84EB02936D for ; Fri, 27 Apr 2018 15:09:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C77A6E948; Fri, 27 Apr 2018 15:09:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B4896E948 for ; Fri, 27 Apr 2018 15:09:19 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180427150916euoutp02d384f92c2597fe40dab2bc422b08545f~pU3_livP82358523585euoutp02H; Fri, 27 Apr 2018 15:09:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180427150916euoutp02d384f92c2597fe40dab2bc422b08545f~pU3_livP82358523585euoutp02H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1524841756; bh=OF/q4V4SHrEBW2Zp1kLlEQTMPgGdqoi9FMh0Hs5QUpw=; h=From:To:Cc:Subject:Date:References:From; b=MrGfIfOlURDISdCkAvMvMJ+Mj2Q93Y7leriY2geUOeWhaKn6h+TLJRzbMleU/Beuu 7ZtDzFU+B5A5AHCT75uTbt14KYG99MUSZR4ZfnyHiLnbebaAyKsrAo3hh8NCnACAdy fv7PG51RPNpLXUQdY2sr9jiV9B59h3qHBnATGHPs= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180427150915eucas1p216a1ac1b9249a1b5a65ae41a55ae8bb5~pU39wKFxC3169331693eucas1p2e; Fri, 27 Apr 2018 15:09:15 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 92.7C.05700.B1D33EA5; Fri, 27 Apr 2018 16:09:15 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180427150914eucas1p14dd8df4a215014ddac990b0ccdb1805c~pU39DHMI60157801578eucas1p1L; Fri, 27 Apr 2018 15:09:14 +0000 (GMT) X-AuditID: cbfec7f2-1c1ff70000011644-98-5ae33d1b0a9b Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F3.94.04178.A1D33EA5; Fri, 27 Apr 2018 16:09:14 +0100 (BST) Received: from amdc3058.localnet ([106.120.53.102]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P7U00MPYNFE3UB0@eusync3.samsung.com>; Fri, 27 Apr 2018 16:09:14 +0100 (BST) From: Bartlomiej Zolnierkiewicz To: Tomi Valkeinen Subject: [PATCH] video: fbdev: omap2: remove rfbi Date: Fri, 27 Apr 2018 17:09:14 +0200 Message-id: <2238944.jilJcacc6d@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBIsWRmVeSWpSXmKPExsWy7djPc7rSto+jDGYfELa48vU9m0XnxCXs Fif6PrBaXN41h81i9pJ+Fov182+xObB5zO6Yyepxv/s4k8fxG9uZPD5vkgtgieKySUnNySxL LdK3S+DKmLrqDVPBop+MFfsuvWNuYNx3irGLkYNDQsBE4tgCnS5GLg4hgRWMEp03/rJBOJ8Z Jf4tP8fcxcgJVvTg2BtWiMQyRolJx9ZBOb+BWq78AqtiE7CSmNi+ihHEFhHQkvh0tgesiFlg C6PEmhPrwYqEBQwlXk5exwZiswioSjR/u84EYvMKaEqsPH6ZBcQWFfCS2LKvHSouKPFj8j2w OLOAvMS+/VNZIWwdibPH1jGCLJAQmMAmMXtdJ9RDLhITXytCnC0s8er4FnYIW0ais+MgE0R9 M6PEtx17oH6bwCixZ70QhG0tcfj4RagFfBKTtk1nhpjJK9HRBlXiIXH30k42CNtRYuXXd2C3 CQnESpy8eZl1AqPMLCRnz0Jy9iwkZy9gZF7FKJ5aWpybnlpsmJdarlecmFtcmpeul5yfu4kR GP+n/x3/tIPx66WkQ4wCHIxKPLwnXj+MEmJNLCuuzD3EKMHBrCTCu+M2UIg3JbGyKrUoP76o NCe1+BCjNAeLkjhvnEZdlJBAemJJanZqakFqEUyWiYNTqoFRyn1VXvr27QtEjSvKtY6ce5L5 cc22OV9zprDPNpEren9w2+3cKYoPnkS8CJq4k2dN2d2AjKxJRlcDH0qZ+Kut3Lz/fUeO8rzz zHOfX/+5nXupxeuu5bPnbp9gwu136+XrzEcF6w5eMvkan+hnUWcx6VaHkohJf8PPluIbcx0/ NPhczlZ9WGUjqcRSnJFoqMVcVJwIAHuksYn7AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t/xq7pSto+jDCY9Mra48vU9m0XnxCXs Fif6PrBaXN41h81i9pJ+Fov182+xObB5zO6Yyepxv/s4k8fxG9uZPD5vkgtgieKySUnNySxL LdK3S+DKmLrqDVPBop+MFfsuvWNuYNx3irGLkZNDQsBE4sGxN6xdjFwcQgJLGCVmb77LCOH8 ZZR493QxE0gVm4CVxMT2VWAdIgJaEp/O9oB1MAtsYZS413kUrEhYwFDi5eR1bCA2i4CqRPO3 62BxXgFNiZXHL7OA2KICXhJb9rVDxQUlfky+BxZnFpCX2Ld/KiuErSWxfudxpgmMvLOQlM1C UjYLSdkCRuZVjCKppcW56bnFhnrFibnFpXnpesn5uZsYgeG47djPzTsYL20MPsQowMGoxMN7 4vXDKCHWxLLiytxDjBIczEoivDtuA4V4UxIrq1KL8uOLSnNSiw8xSnOwKInznjeojBISSE8s Sc1OTS1ILYLJMnFwSjUwdv+ucs5ZUpb1e03d85jSXT2Ss6bwbU1OftrbGrE9+7O7SV7nv901 q2/cX67Nx9Us1sdy5eWfOXfDP7q91z4txeQQLfr6xhcllR1Tbscd7l54WyLZZs7tUzcfW5zu WWiiNLehN6XQUmr5HgZr9QbnVauCFb52usRFf51W96HuqsrOZ6zLVO71K7EUZyQaajEXFScC AH7j3FlDAgAA X-CMS-MailID: 20180427150914eucas1p14dd8df4a215014ddac990b0ccdb1805c X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180427150914eucas1p14dd8df4a215014ddac990b0ccdb1805c X-RootMTR: 20180427150914eucas1p14dd8df4a215014ddac990b0ccdb1805c References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP omapfb equivalent of drm's commit aa61321d4c08 ("drm/omap: remove rfbi"): The RFBI driver has not worked nor compiled for many years. There are very few boards out there that use RFBI, and no one has stepped up to fix it. So let's remove the RFBI code that doesn't even compile. Cc: Tomi Valkeinen Cc: Laurent Pinchart Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/omap2/omapfb/dss/Kconfig | 13 drivers/video/fbdev/omap2/omapfb/dss/Makefile | 1 drivers/video/fbdev/omap2/omapfb/dss/core.c | 6 drivers/video/fbdev/omap2/omapfb/dss/dss.h | 4 drivers/video/fbdev/omap2/omapfb/dss/rfbi.c | 1078 -------------------------- include/video/omapfb_dss.h | 32 6 files changed, 1134 deletions(-) delete mode 100644 drivers/video/fbdev/omap2/omapfb/dss/rfbi.c Index: b/drivers/video/fbdev/omap2/omapfb/dss/Kconfig =================================================================== --- a/drivers/video/fbdev/omap2/omapfb/dss/Kconfig 2018-04-27 16:24:48.171632007 +0200 +++ b/drivers/video/fbdev/omap2/omapfb/dss/Kconfig 2018-04-27 16:25:31.067633088 +0200 @@ -42,19 +42,6 @@ config FB_OMAP2_DSS_DPI help DPI Interface. This is the Parallel Display Interface. -config FB_OMAP2_DSS_RFBI - bool "RFBI support" - depends on BROKEN - default n - help - MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas - Instrument's terminology). - - DBI is a bus between the host processor and a peripheral, - such as a display or a framebuffer chip. - - See http://www.mipi.org/ for DBI specifications. - config FB_OMAP2_DSS_VENC bool "VENC support" default y Index: b/drivers/video/fbdev/omap2/omapfb/dss/Makefile =================================================================== --- a/drivers/video/fbdev/omap2/omapfb/dss/Makefile 2018-04-27 16:24:48.171632007 +0200 +++ b/drivers/video/fbdev/omap2/omapfb/dss/Makefile 2018-04-27 16:26:20.511634333 +0200 @@ -8,7 +8,6 @@ omapdss-y := core.o dss.o dss_features.o omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \ dispc-compat.o display-sysfs.o omapdss-$(CONFIG_FB_OMAP2_DSS_DPI) += dpi.o -omapdss-$(CONFIG_FB_OMAP2_DSS_RFBI) += rfbi.o omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o omapdss-$(CONFIG_FB_OMAP2_DSS_SDI) += sdi.o omapdss-$(CONFIG_FB_OMAP2_DSS_DSI) += dsi.o Index: b/drivers/video/fbdev/omap2/omapfb/dss/core.c =================================================================== --- a/drivers/video/fbdev/omap2/omapfb/dss/core.c 2018-04-27 16:24:48.171632007 +0200 +++ b/drivers/video/fbdev/omap2/omapfb/dss/core.c 2018-04-27 16:26:00.675633833 +0200 @@ -251,9 +251,6 @@ static int (*dss_output_drv_reg_funcs[]) #ifdef CONFIG_FB_OMAP2_DSS_SDI sdi_init_platform_driver, #endif -#ifdef CONFIG_FB_OMAP2_DSS_RFBI - rfbi_init_platform_driver, -#endif #ifdef CONFIG_FB_OMAP2_DSS_VENC venc_init_platform_driver, #endif @@ -275,9 +272,6 @@ static void (*dss_output_drv_unreg_funcs #ifdef CONFIG_FB_OMAP2_DSS_VENC venc_uninit_platform_driver, #endif -#ifdef CONFIG_FB_OMAP2_DSS_RFBI - rfbi_uninit_platform_driver, -#endif #ifdef CONFIG_FB_OMAP2_DSS_SDI sdi_uninit_platform_driver, #endif Index: b/drivers/video/fbdev/omap2/omapfb/dss/dss.h =================================================================== --- a/drivers/video/fbdev/omap2/omapfb/dss/dss.h 2018-04-27 16:24:48.171632007 +0200 +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss.h 2018-04-27 16:24:48.171632007 +0200 @@ -472,10 +472,6 @@ void hdmi4_uninit_platform_driver(void); int hdmi5_init_platform_driver(void) __init; void hdmi5_uninit_platform_driver(void); -/* RFBI */ -int rfbi_init_platform_driver(void) __init; -void rfbi_uninit_platform_driver(void); - #ifdef CONFIG_FB_OMAP2_DSS_COLLECT_IRQ_STATS static inline void dss_collect_irq_stats(u32 irqstatus, unsigned *irq_arr) Index: b/drivers/video/fbdev/omap2/omapfb/dss/rfbi.c =================================================================== --- a/drivers/video/fbdev/omap2/omapfb/dss/rfbi.c 2018-04-27 16:24:42.223631857 +0200 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,1078 +0,0 @@ -/* - * linux/drivers/video/omap2/dss/rfbi.c - * - * Copyright (C) 2009 Nokia Corporation - * Author: Tomi Valkeinen - * - * Some code and ideas taken from drivers/video/omap/ driver - * by Imre Deak. - * - * 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 "RFBI" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include