Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp567315pxb; Fri, 8 Jan 2021 12:02:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDiX8GPWlPLXJTsbLQm/59dg988B5wr+LwbN6jrq/Or0VHvz5bKkzc2hU3FqZjkSake6Vl X-Received: by 2002:a17:906:27d1:: with SMTP id k17mr3784166ejc.325.1610136155314; Fri, 08 Jan 2021 12:02:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136155; cv=none; d=google.com; s=arc-20160816; b=grxQ4tqtNDLvohgrm7/py/beyGUUSmKubuMV2LaItNae/lIvzswRwctLRnTdz4JSr2 WYQdjgVMweSwNv5Pl7QlQI8Mp1frcsNJ0G4f0d0sQJyqKoov8cqSfmSVBK9pRZthleKJ cDuHLb78xa3KkJmufYBQIsB1LtHo3ILjFhmBk4toG+SLrjAlW7Cj6AHNWJB/s6CNdHSB VXSQ5gztGKJgC/MUb/zVe0M6pXg1u/hhM4QJEfDBZgWaxDNV8fYKl4LiCYfETbGuA8WI lImM8K4U6BbwXkB9mObpzoo+XYSD7wlB539UmSriEpidQ6aAwzLl3Ca5e5oshvSEla/c dMNQ== 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; bh=HomMyuQ+0hNOxCRJRDq5Y5esqmf2tFuEal578b9EkIQ=; b=vE88Zlbly+GI23MV/20kwv9pr/89kMhM/TDY69/F3bWvNeaiIOTq7gYg2XikWxZJWW 1hkbZgWIb5zcLA9uMVFt2nritc2WG44vI7aq/HB+72i8z/WYJyzV5tP0LPhvR1+d4svK LfeMUDAjzmeXG0UKsNw5yfLezBse/oYq4Wa3fFU5h6ZXM3ex23d82syBA9Mex5aZrhKO oHPyJ2V4B3A6DPkVIr3005Gz9zxRwsaX1BmhaV2LMWpJGy6pEwXvMerW6ZYygxMchcBl HYI0rBmovkm43KGZ4Jh60ReocDQEPedk1POJq4CjUeLj83duRSB2u3G2SjusZm+GtGeY 82Bg== ARC-Authentication-Results: i=1; mx.google.com; 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 r16si3709102ejz.602.2021.01.08.12.02.10; Fri, 08 Jan 2021 12:02:35 -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; 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 S1728975AbhAHT7g (ORCPT + 99 others); Fri, 8 Jan 2021 14:59:36 -0500 Received: from asavdk3.altibox.net ([109.247.116.14]:59142 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbhAHT7f (ORCPT ); Fri, 8 Jan 2021 14:59:35 -0500 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 1984E20021; Fri, 8 Jan 2021 20:58:40 +0100 (CET) Date: Fri, 8 Jan 2021 20:58:39 +0100 From: Sam Ravnborg To: Sebastian Reichel Cc: Sebastian Reichel , 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 Subject: Re: [PATCHv1] video: omapfb2: Make standard and custom DSI command mode panel driver mutually exclusive Message-ID: <20210108195839.GA1429715@ravnborg.org> References: <20210108122540.657501b2@canb.auug.org.au> <20210108112441.14609-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210108112441.14609-1-sebastian.reichel@collabora.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=Ibmpp1ia c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=rOUgymgbAAAA:8 a=QX4gbG5DAAAA:8 a=7gkXJVJtAAAA:8 a=bFzB3eAsRtkcaW2KersA:9 a=CjuIK1q_8ugA:10 a=MP9ZtiD8KjrkvI0BhSjB:22 a=AbAUZ8qAyYyZVLSsDulk:22 a=E9Po1WZjFZOl8hwRPBS3:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebatian, 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 But why is it it we need omapfb at all when we have omapdrm? Can we sunset all or some parts of omap support in video/? If not, what is missing to do so. Sam > --- > Laurent introduced and fixed the same issue for the other panels and > this simply replicates the same solution for DSI command mode panel. > --- > drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/video/fbdev/omap2/omapfb/displays/Kconfig b/drivers/video/fbdev/omap2/omapfb/displays/Kconfig > index 744416dc530e..384d74a126dc 100644 > --- a/drivers/video/fbdev/omap2/omapfb/displays/Kconfig > +++ b/drivers/video/fbdev/omap2/omapfb/displays/Kconfig > @@ -43,6 +43,7 @@ config FB_OMAP2_PANEL_DPI > config FB_OMAP2_PANEL_DSI_CM > tristate "Generic DSI Command Mode Panel" > depends on BACKLIGHT_CLASS_DEVICE > + depends on DRM_PANEL_DSI_CM = n > help > Driver for generic DSI command mode panels. > > -- > 2.29.2