Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3193491pxb; Tue, 12 Jan 2021 08:31:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYRx6hKf6zamQgzESSqUYrPliASlOPJJbWpPPqVlfwdfwSU+GFBv+azahzTWTVhg/I2Iwp X-Received: by 2002:a50:e719:: with SMTP id a25mr17510edn.12.1610469113243; Tue, 12 Jan 2021 08:31:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610469113; cv=none; d=google.com; s=arc-20160816; b=lbV/umWvJz4Pni/P6jWf4XcBr4sy/pLaC5KT8f6IuGMv9Uc6D+oOkuLineKyUepB+n sYeBjE5iK0UoRUNCdWb2bS7PR4gT5UZaiBQV0eDNSXgYabpGI/5FhBWsC8RrRf0STTQC GH1NV/r3Xp3jYeGK93C1Uz+oyi6BpebTHTBMrlAf/aa+xjMT7jEYW/jmxT2CWHd6Ri44 4xM7UWau4ogNCH+vaPIxrS3w4uA3+QQhZOOBnyblZhuP2M4Jx1HPznwd3ZI79KV5xmuS 1kBgWPhgvzmQr2oLRVCZTJ/z4Ysz2Q5GnLTB4tYYUZZMZ4OurqJDi9qUb7WNFZ7aEYep zT3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ah6ie1wSqfEpea/EytHLZ8niEfYC5pXKkQ2qCl8Ofu4=; b=WeYxx5KnYnX3X9uU9nM9YN84ztcgIbIb37mxBilaIR624XFxRuPAKzOwipLG3cAGWd gUrjjUn3YuHQDFIsIW9VcpmbDRdQTatgEVmuyY/Zh07T3TV3cJ0KuLlGV63NtB+KPQ+A VGADXv7szMuSSJG0e5VAXwFKN1UDjKrUTK5ubfwtdtF0OGRnnlN3oJ7dnMq12ut84tUe Qpdt58oyLw19WjAI1UFXUaTVVQffNiKokLEEFB9WPd07gHqV8ldfSx/nWxdsW80zHgNz YQdbpMSULe8hgMWIkjWSWUVcwiSTulxP2Vca8kkzg6QwD52zVC8AB/CRgj/eqNjNnzl1 23BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=tqOYACBf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co9si1521579edb.379.2021.01.12.08.31.27; Tue, 12 Jan 2021 08:31:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=tqOYACBf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392712AbhALQaV (ORCPT + 99 others); Tue, 12 Jan 2021 11:30:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392698AbhALQaV (ORCPT ); Tue, 12 Jan 2021 11:30:21 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E88AFC061786; Tue, 12 Jan 2021 08:30:05 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 33C6958B; Tue, 12 Jan 2021 17:30:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1610469003; bh=VG6IMjHKwXDLQBfQ9biHJXOjwpA2yRoHq+B9kTZZDPY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tqOYACBfPcmWFdfKNXYyM8sTthKsHFXY21pJfNAVsq2zur+56smXzfnlEOQJaXr5V IOtTS3W+f1oIbyY5Kz2sJ4aUeSXYdCUA3yx9bjAbyQK+T+znK5qzP5Pv1GYhd8M72G T7t0LSa51j39nSEGQ/RL1S+FKEoViP4d1L8KxdKs= Date: Tue, 12 Jan 2021 18:29:47 +0200 From: Laurent Pinchart To: Sebastian Reichel Cc: Tomi Valkeinen , Sam Ravnborg , linux-fbdev@vger.kernel.org, Bartlomiej Zolnierkiewicz , Tomi Valkeinen , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@collabora.com Subject: Re: omapfb removal (was: Re: [PATCHv1] video: omapfb2: Make standard and custom DSI command mode panel driver mutually exclusive) Message-ID: References: <20210108122540.657501b2@canb.auug.org.au> <20210108112441.14609-1-sebastian.reichel@collabora.com> <20210108195839.GA1429715@ravnborg.org> <20210112120246.ujhjyylrlgfrfvig@earth.universe> <4b39c036-fb70-4a5b-ddda-08ce2f0a6db5@kernel.org> <20210112162454.hfzj5bxy7e6zlccl@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210112162454.hfzj5bxy7e6zlccl@earth.universe> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On Tue, Jan 12, 2021 at 05:24:54PM +0100, Sebastian Reichel wrote: > [dropped linux-next from Cc] > > Hi, > > On Tue, Jan 12, 2021 at 03:10:56PM +0200, Tomi Valkeinen wrote: > > >> But why is it it we need omapfb at all when we have omapdrm? > > > > > > I think there are two reasons omapfb has not been killed yet. One > > > reason was missing support for manually updated DSI panels, which > > > have been working since 1 or 2 kernel releases now. The other reason > > > is some people using it in combination with an out-of-tree PowerVR > > > kernel driver. There is currently work going on to use a more recent > > > PowerVR driver based on omapdrm driven by Maemo Leste people. > > > > omapfb also has a custom sysfs API, so applications that depend on it > > would not work anymore. I don't know if there are such applications, though. > > > > >> Can we sunset all or some parts of omap support in video/? > > >> If not, what is missing to do so. > > > > > > IDK the exact status of the PowerVR work and have not been using > > > omapfb myself for years. I don't think there is a reason to rush > > > this, so my suggestion is removing it in 3 steps giving people > > > the chance to complain: > > > > > > 1. Add 'depends on EXPERT' to 'FB_OMAP2' and add deprecation notice > > > referencing omapdrm in help text in 5.12 > > > 2. Add 'depends on BROKEN' in 5.13 > > > 3. Drop drivers/video/fbdev/omap2 afterwards > > > > I'd love to remove omapfb, but I also fear that there are still people > > using it. We can try the above sequence, but it's probably better to go > > slower, as people may not be using the latest kernels. > > I thought about this again and I think the best option is to rename > CONFIG_FB_OMAP2 to something like CONFIG_FB_OMAP2_DEPRECATED and > update the help text. That way anyone with CONFIG_FB_OMAP2 in > their .config will definitely notice the change when upgrading to > a newer kernel, but can easily fix it temporarily. Help text could > be > > "This driver will be removed in 2022, please switch to omapdrm." > > and no other intermediate steps are required that way :) The plan looks good to me. > But while looking through CONFIG_FB_OMAP2 references I noticed there > is also a V4L2 driver (CONFIG_VIDEO_OMAP2_VOUT), which seems to > only work with omapfb. IIUIC that driver provides display overlays > to V4L. I guess on omapdrm V4L can use DRM planes instead and no > driver is needed (i.e. this driver could just go away with omapfb)? One feature that the omapfb2 and the omap-vout drivers provide is rotation support with VRFB on OMAP3. I haven't moved to omapdrm on an old project for this reason. It should be possible to implement rotation support in omapdrm, but I'm not aware of any effort in that direction. -- Regards, Laurent Pinchart