Received: by 10.192.165.148 with SMTP id m20csp996170imm; Fri, 27 Apr 2018 10:48:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqYeZ9YTqYZIdtjBD2gkmA2Y+z2ltzzpOs/7yhuTcPzGTJ45CrrlrzgBhYfH5nuH3iKwrIS X-Received: by 10.98.150.150 with SMTP id s22mr2552281pfk.191.1524851327991; Fri, 27 Apr 2018 10:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524851327; cv=none; d=google.com; s=arc-20160816; b=UHwXfdbfATggpzlff2+n9hIpXXaZecibc7VpCyekUVmCX+dcBY/7Irz+w5rJ6oQJT3 Q5Yg07qngxemni3I675aRDtuJP4ZIxULNAIOKTSOpaPCMcrrda5TYKvx/BLjnNKAPgzq mrjI9Z7wRz5MEHoIxn2fUIzT97HAUeatVmC8ANYk5L3yLcA+ryP2j/5/XexUTbmu75/m HGl60Wizc9Mp0cdDiTBkJBjwYQQm/CDH2nP0QaKCaxFRmrR9VQnmSc6EAHp7aarlXTTs 9EoxSYnY5UX6tL26uA6G9uU+7ZIUCnD9BMyfNisEE2UKS2TLYGRv2OM4amVMh3Mgec0D na7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=x9dlc8Xv+7BY/2NmD8UYDCknwOKwCfBJOzA0YEnJlEs=; b=LBriK8S4LetjMv8YxaMKiPNuQ+LkLfdQ7O5QXLulRYhGFS2rx3Sh69CraVECst5tL9 eKCxtS9ExRaUCqBRxFBhAhfwYrQUd9w8KG2K+BhJd3j9LTahint284yUQV30htOYx+en kyFlCf1KOCNYYxjN7vDH50ruqeN/g4JMI2dz7GH+NlVDGuEB2Idb7LUKT/O8OwgXOfeK +iNNNj28EopwNrdz+gIMLPN06O9zmgqXxWlASNm0c6LoEgiokiSRFrAdNDB/eeeU5Wg3 OkMNeTDkTUb6oy7UgqcnkLpAznh0UxJbNM79bgCQoVFuQhWDU2d2rA6Yu6IEC4JJ8tSH nNmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5-v6si1591629pgc.331.2018.04.27.10.48.31; Fri, 27 Apr 2018 10:48:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757497AbeD0RrT (ORCPT + 99 others); Fri, 27 Apr 2018 13:47:19 -0400 Received: from emh03.mail.saunalahti.fi ([62.142.5.109]:48832 "EHLO emh03.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751456AbeD0RrR (ORCPT ); Fri, 27 Apr 2018 13:47:17 -0400 Received: from darkstar.musicnaut.iki.fi (85-76-85-12-nat.elisa-mobile.fi [85.76.85.12]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id E523440025; Fri, 27 Apr 2018 20:47:14 +0300 (EEST) Date: Fri, 27 Apr 2018 20:47:14 +0300 From: Aaro Koskinen To: Bartlomiej Zolnierkiewicz Cc: Tomi Valkeinen , Laurent Pinchart , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] video: fbdev: omap2: remove rfbi Message-ID: <20180427174714.bdvvlljk3txwu2bo@darkstar.musicnaut.iki.fi> References: <2238944.jilJcacc6d@amdc3058> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2238944.jilJcacc6d@amdc3058> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Apr 27, 2018 at 05:09:14PM +0200, Bartlomiej Zolnierkiewicz wrote: > 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. NACK. I'm just about to start fixing this and hoping to get display working on N8x0 boards. See the other thread: https://marc.info/?l=linux-omap&m=152469100217934&w=2 A. > Cc: Tomi Valkeinen > Cc: Laurent Pinchart > 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