Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3050507pxb; Tue, 12 Jan 2021 05:16:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKL/E2XEqK+IZxj4MuGoqAc6iuy/sjSorkPJuR1VmXcVbiGaKJNo4wFPT9QjVPJuX6Mt3i X-Received: by 2002:a17:906:d62:: with SMTP id s2mr3248260ejh.61.1610457379310; Tue, 12 Jan 2021 05:16:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610457379; cv=none; d=google.com; s=arc-20160816; b=m8t9RMOiH0ysz94FihN0E0u+GjfR9IkjzpmjETIP9sIIZBe1pt/dC6o0SFrjOGPWP0 mLIgjhgrbz2/j0Q1/JYxcFJA1/y3b9p8r9ipQT6Bcj1M16PRhLta9nw+4qxELAk6ULdq qvaRkw50Z79cxoKiwwmaHLEDlbSGAAQig/1RM37XyvIixvVIOSLe4d2E/a285eAzYPPa JZZrUG/X8xnIhxBfpKrbsA7+BK93K/Rz5EpfPELa+Ky13Y437sZVpxU/SaAvZkYonS5w I4GgqENUe/1/iyAMNXIue+9RROCsS4WYiw1fI6AtlEyqokI6XE36KPrcLp69ySYcN0Rs cf/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=isjIUNYUnhRmQg/LHBEzPtS/mkjlyO9NA9NtkkzUHlE=; b=Ou1z3/5QndxQcksilHmRIrmxrWMkIQNJVxla17j2tTlyElUsmRjmIi0Z3wMKhXTu/A A5US59WJ/NMW7sWGfgAh8W3wkRC6WyQ4HJckFdxP5RGlNxODDYzV7HXC+LrU/1q/WvtI b33FEa7OtczqB7mIALfmiSyHG3ONsn+cT/aPbF3wAkEzFZMSr9zuboMeqv/fHsfoADc/ XsZf14XY7kcnDHelUKdy28h/9U7fx/8PhdNvE/CyxkFovfPCdE/xU/2pTbnGJ2EXoIrS Bsj5cJtXmJWSUUvcaV/Xz+15EFsjF64OzWpBI60m7pbUj9Ox7HBql9vRBJBzby5BQGwO P24Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VtmmSSY2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si1216715ejj.255.2021.01.12.05.15.54; Tue, 12 Jan 2021 05:16:19 -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 header.i=@kernel.org header.s=k20201202 header.b=VtmmSSY2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729218AbhALNMj (ORCPT + 99 others); Tue, 12 Jan 2021 08:12:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:34888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbhALNMf (ORCPT ); Tue, 12 Jan 2021 08:12:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6E76E2311D; Tue, 12 Jan 2021 13:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610457114; bh=vP2DCagVtAMu9x56EKZAmURKgDbYatteSbiEwLNkbDc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=VtmmSSY2umtEYzqFZ97n8qo1zKpm2Q/ov5UyeApaJAOCFKVKtbv6QoOwErR68J5i8 J0TcbtmwpjzN13nNYzNrXmUH5G4ZCyHhYYeFhhlgW46WKYqEwA/+l7SYi1CDGS8Z5l QcJ7wYW3hDLfJTB0qIokccmUbQjNTkt0C6KFc1hbF42t2CeiD+AfVEBXk1HNkqYXg/ PQYYRyoKFnMz9qW23cbQtFYM6DzdGlbWizGUDrqxN8R2G9YxnElWzrefWvtRD79qQq lmnBBRKN0lv80UzGCREXpvTL2+XmFo/4GZxyx9MBszv4ihPIhctyG/I/cB0jCgzECM kn8y3tXwiRuag== Subject: Re: [PATCHv1] video: omapfb2: Make standard and custom DSI command mode panel driver mutually exclusive To: Sebastian Reichel , Sam Ravnborg Cc: Tomi Valkeinen , Bartlomiej Zolnierkiewicz , Laurent Pinchart , Stephen Rothwell , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, kernel@collabora.com References: <20210108122540.657501b2@canb.auug.org.au> <20210108112441.14609-1-sebastian.reichel@collabora.com> <20210108195839.GA1429715@ravnborg.org> <20210112120246.ujhjyylrlgfrfvig@earth.universe> From: Tomi Valkeinen Message-ID: <4b39c036-fb70-4a5b-ddda-08ce2f0a6db5@kernel.org> Date: Tue, 12 Jan 2021 15:10:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210112120246.ujhjyylrlgfrfvig@earth.universe> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/01/2021 14:02, Sebastian Reichel wrote: > [replace Tomi's TI mail address with something working] > > Hi, > > On Fri, Jan 08, 2021 at 08:58:39PM +0100, Sam Ravnborg wrote: >> Hi Sebastian, >> >> On Fri, Jan 08, 2021 at 12:24:41PM +0100, Sebastian Reichel wrote: >>> Standard DRM panel driver for DSI command mode panel used by omapfb2 is also >>> available now. Just like the other panels its module name clashes with the >>> module from drivers/video/fbdev/omap2/omapfb/displays, part of the deprecated >>> omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver >>> is disabled, and the DRM panel drivers are useless in that case, make the >>> omapfb2 panel depend on the standard DRM panels being disabled to fix >>> the name clash. >>> >>> Fixes: cf64148abcfd ("drm/panel: Move OMAP's DSI command mode panel driver") >>> Reported-by: Stephen Rothwell >>> Signed-off-by: Sebastian Reichel >> >> For a backport this looks good: >> Acked-by: Sam Ravnborg > > Thanks. Thanks. I'll push to drm-misc-next, as that's where the commit that breaks this is. >> 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 sysfw 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. Tomi