Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4178193ioa; Tue, 26 Apr 2022 19:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdh0y7XH5qo0HYpENS31A/17FSfxM8vIzTboICIDkyQUPW5/VMctHrv58WUJ5NW/rOSyuN X-Received: by 2002:a63:48f:0:b0:3ab:3b1f:7e7f with SMTP id 137-20020a63048f000000b003ab3b1f7e7fmr11512010pge.164.1651027620653; Tue, 26 Apr 2022 19:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651027620; cv=none; d=google.com; s=arc-20160816; b=nUsGozNOuE6gyH1+dH5d0LgId+2oYiIdtAGb6rvkW891yUVPq5rePCStnmTCOdmp/y BODLqMt341AaZPck7nBVkfZA0LiMGT7R9Vlz4Owe6fih45UaZ3DunLZxD/Wxa8ScO8me UXVMvl2waTNwDmRX2Lq3DkqOLdyNhm3qWrRcOkREG0ZoPH6w11ltZErxk1PSInYrdX0z N29dVPDK7s2zPG7Xzqh8yoPPGFdkk6OMdYMWVWxV2xoE9dzqckiXMN8WQTXw+be6VTc6 Jb3cZaZTL4dytL8qsU1TeUAmhXsxPnQ82QRRBWiudverK9PJuyauSMECJWt/B5BgU7mG 0NlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=vRh1gD0f3xCVRZNs5NMMVExn4xhUo4jC6Jov5ZrW884=; b=UzrYj6nhCVz8sl37tadX/RO43P1YwzaTB8vs6l3ElSRsMFLD5kmGI4znOmQkNFqXds ugsEgxOsy2eigsvEDnejtNKZrBAJnELAFxR7u5sEXrRb2dR0gASCt5euDodq/VGAzgyJ Q1YC6u+s7z29J1fr5LbBWRH2TkPSdmFod4UeuMsz3NbU+JtXfkAItnwL7XfFE23dxBP4 p0IoM9nA5TrYq1hjjkspbr52No63IeuD3zp2cwUgTb3ajgAlFYbqaELDPEl6neg3hpbP 1Ly6EG9WAuKLCeQ4Y0VJSWnNOVKss67Vryx21dqlxONRvl//MavX6KNJNZI6B5YyF1U6 20og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=zIByLgjb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a632c08000000b003ab02b5c1f2si242032pgs.97.2022.04.26.19.46.45; Tue, 26 Apr 2022 19:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=zIByLgjb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352726AbiDZQCO (ORCPT + 99 others); Tue, 26 Apr 2022 12:02:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235482AbiDZQCN (ORCPT ); Tue, 26 Apr 2022 12:02:13 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0A3215F5A3 for ; Tue, 26 Apr 2022 08:59:04 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id k36-20020a05600c1ca400b00393f18c8fc5so1851236wms.4 for ; Tue, 26 Apr 2022 08:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=vRh1gD0f3xCVRZNs5NMMVExn4xhUo4jC6Jov5ZrW884=; b=zIByLgjbM9QAGOhZjZJUJReDTpiz294N6O4cijYSvWgNxgsBeKlVwDzSCZ1vjSZdQZ ujbZ0h6ZxRNH/KxYzigENRyLkhdBp09Kbv/V3ggeGVpYJNEB+x3hcHqNARjAh1LFTxkW CtC8rV53NDnCsiINaTrGiz9iMA/6OKs0tzX8wNazK2W8QcPvMBTeuakxSHOtH3Y/t5yc 0eW+pt+P0q1biVbFkn59q1784t5TunNpDIrbj/97BpnuWT48yoUy0GFLR0Wf0Jn1AO8D KoUnhcaSznftaUmhUHaxk6CmIezYyBhg6U+D16lfHnaEYl5ypf19bO2xRLSQeCmNZXjT 8ddw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=vRh1gD0f3xCVRZNs5NMMVExn4xhUo4jC6Jov5ZrW884=; b=XgPcO2kELKVpDnHP01JWTvi0B7p/N4j59Rno/SchntWwrNtLjRgUQPybey66dV+5Oj amZj35RMMRoOEdcDX+ddqu3WqIDdqwYxYnaUwlVk5mOZsvJtoduy2BAlTVUHml1R1qrL OnAFrh5M0P5RgMs57q8a16pbyA2Gk0d7rSDXq/0BOZvSCrV6Zzf7d24G6e/kCoMmUGro PX/wHDE3z8dX1JtAFQzOvHiGX6i5hhNDW+ytAjC6aBW4b4Xw0Cw0BKv0ABtDzERS50qM wZ+jod52qhFTTvrHncHHlBYskzdx/LUsrk8ZMNHbNnLRQS1tEOizI+Kly28YJOSa9wuh 4I4g== X-Gm-Message-State: AOAM533IcKZahLGfmLWfz9dgUelSkxBmiXLu+eZr9EgwbijbD8lLITvq TDALQof2Kw6jwTLT1OhZ+ELOaA== X-Received: by 2002:a7b:c153:0:b0:38e:c1a6:453e with SMTP id z19-20020a7bc153000000b0038ec1a6453emr31697865wmi.131.1650988743282; Tue, 26 Apr 2022 08:59:03 -0700 (PDT) Received: from ?IPV6:2001:861:44c0:66c0:5959:ca32:2e01:b6fc? ([2001:861:44c0:66c0:5959:ca32:2e01:b6fc]) by smtp.gmail.com with ESMTPSA id k11-20020adfc70b000000b0020ad82e3ec8sm7150423wrg.62.2022.04.26.08.59.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Apr 2022 08:59:02 -0700 (PDT) Message-ID: <13ca5824-c101-823a-b31e-ccf9a6971c20@baylibre.com> Date: Tue, 26 Apr 2022 17:59:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] drm/bridge: ite-it6505: add missing Kconfig option select Content-Language: en-US To: Fabien Parent Cc: Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Hermes Wu , Allen Chen , AngeloGioacchino Del Regno , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220426141536.274727-1-fparent@baylibre.com> <20220426153931.suiuc7o53dt6s2es@radium> From: Neil Armstrong Organization: Baylibre In-Reply-To: <20220426153931.suiuc7o53dt6s2es@radium> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 26/04/2022 17:39, Fabien Parent wrote: > On Tue, Apr 26, 2022 at 05:29:31PM +0200, Neil Armstrong wrote: >> On 26/04/2022 16:15, Fabien Parent wrote: >>> The IT6505 is using functions provided by the DRM_DP_HELPER driver. >>> In order to avoid having the bridge enabled but the helper disabled, >>> let's add a select in order to be sure that the DP helper functions are >>> always available. >>> >>> Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver") >>> Signed-off-by: Fabien Parent >>> --- >>> drivers/gpu/drm/bridge/Kconfig | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig >>> index 007e5a282f67..2145b08f9534 100644 >>> --- a/drivers/gpu/drm/bridge/Kconfig >>> +++ b/drivers/gpu/drm/bridge/Kconfig >>> @@ -78,6 +78,7 @@ config DRM_ITE_IT6505 >>> tristate "ITE IT6505 DisplayPort bridge" >>> depends on OF >>> select DRM_KMS_HELPER >>> + select DRM_DP_HELPER >>> select EXTCON >>> help >>> ITE IT6505 DisplayPort bridge chip driver. >> >> http://lore.kernel.org/r/20220403151637.15546-1-rdunlap@infradead.org also select DRM_DP_AUX_BUS, >> can you check if this is really neaded ? > > Oops, I didn't notice that patch. > > Anyway I can successfully link with the following config: > CONFIG_DRM_ITE_IT6505=y > CONFIG_DRM_DP_AUX_BUS=m > CONFIG_DRM_DP_HELPER=y > > But I cannot with the following config: > CONFIG_DRM_ITE_IT6505=y > CONFIG_DRM_DP_AUX_BUS=m > CONFIG_DRM_DP_HELPER=m > > This suggest that DRM_DP_AUX_BUS is not required for that driver. Thanks for confirming: Reviewed-by: Neil Armstrong > > Fabien > >> >> Neil