Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp722513rwb; Fri, 23 Sep 2022 03:18:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7fJSkTK4buak9Hr/GH5TEsMX/oMvwzRRZ2UYGq6AniWur67K0xOcngFfA1Ub+lOLpzz6Nl X-Received: by 2002:a17:907:a408:b0:780:3d91:9232 with SMTP id sg8-20020a170907a40800b007803d919232mr6293098ejc.506.1663928300132; Fri, 23 Sep 2022 03:18:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663928300; cv=none; d=google.com; s=arc-20160816; b=HQSkw1NUhDxwo3ZtuR4a6PIXJL/ZTIWGwest9JaBwjnAArY7ocb29VdTWHSr5cBLS0 Fdy6gAiUkUy/wovbV8mUSDIic6/J2l/rmxjJg0VLXhZacj8+3aFf477Pj5X4bKpUsDYl 3r1da9lKThhruNHJLYZdkyTwQ9VxVVnRqVzM105Juun8dVdYvmo9GIzMqfittiCqo1T/ eDXuP4pdv3N9SUR7sH/mbj/3aN3ot9kscGp/k8ikWOPp/gjk788DiOn8xdcV1mp12Cw1 TE9dz9BkKGwtP0wL5QDBmEZnHihVlLzCByjrALn42wYbB6bnV+a+2UL+f3xjAEnT7h6n kMJA== 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:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=NsCaxjSsnAPb9dr7jfz45Z2k7us6uvI3bad+ssBYPRY=; b=fMiDRCO2rKT2tiFUEuC4ty9mag7fwlXVlUei0dGuE0rk6md4W80exgDAuPdspFk5qB i03qZ0KvfNxdjI9dtApQ+dAkb6b7kwA+2K1uplD/ii+2O88OXzQWTNgZvu3Yu59ANr9j wDFkRXMZtzRaqM8RqP3PsQPOoZ4J74GEwZnZSFmMatgQwCTYS2shHHOcvBx8hK7FX8fe 9eiEXojI8ibmwpxEQcyglKLB4bPKVQjBO22O+mBMy02XpIAEdOY6RxsQ56j9HTWHkA9u VzUYXn6suWH02Gx2LZCno+KRX5EIQf8AaFt5tceaTWsYY3Soolu2LdVQHQd/oNnWbNvO BcsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kbAlmpga; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020a056402441000b0045138471d7csi9048558eda.375.2022.09.23.03.17.54; Fri, 23 Sep 2022 03:18:20 -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=@linaro.org header.s=google header.b=kbAlmpga; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231938AbiIWJbr (ORCPT + 99 others); Fri, 23 Sep 2022 05:31:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbiIWJbT (ORCPT ); Fri, 23 Sep 2022 05:31:19 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC0FED5ED for ; Fri, 23 Sep 2022 02:30:24 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id r7so19532001wrm.2 for ; Fri, 23 Sep 2022 02:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date; bh=NsCaxjSsnAPb9dr7jfz45Z2k7us6uvI3bad+ssBYPRY=; b=kbAlmpgaEhf+5kfZd0SX24hWQBfs6lcGNXHiOLu0XLbPbbDq0VKm8G5TI+fPbE0Vm1 JomapF/69N/+VHhQNzJckRo24YdeHtN2fRdvUhLT/DUjRZv7hny8rK4zUIZStUCYN2Bh wVUvQovR86bYYvrqW2XAIiCP7d2AszTLEftzWrTtOUP5E6SHsqL3tD+HHW6GfcIVPMzj Pes9Bk7HYpkTskt9vLb7QCAb6XvOl6dCcssaqJwfalDPtBykq8O7KdtEdTJEB9U9VfcR C4HRGXiUbojFb0hx6rCow34cFwi8wqHyx+P0OqGbC0ikFlnI/7iEt1nB82stw5N/CJpU RtqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date; bh=NsCaxjSsnAPb9dr7jfz45Z2k7us6uvI3bad+ssBYPRY=; b=j7hKHSBs1hcji+dQCU0tHyTSBoGWJSl5wG1Km8octg9cyYKOFt7Hc8d4CsVqkKTH0L 6MG4KeCo9Q56xqKx/6aBPJYGQg8WwMu8mE427/If5owAfVFAwSRudJKRWi6VhyfOcnFO CRWQYQLM0GkWqwWfRTHVrrL17SEW3UuRM02aq+PqrRlhLCadnvCktAmhFWjViZV2q3eJ FRtEbA0VgjcGOG+Fit3WdwBn2aljFXld0vaBQR3+RKj2jEiKWVFjGsuKe7aK7HUmn6rP ExwHVTtdlAU1F093CfnFRcrvdSmrylPLIiMNF1UO19/bFtZOjSbrjVSwyuBKJY2x0aXx aFNQ== X-Gm-Message-State: ACrzQf3saYIwYH0DYqeyY+0stgc4lKjsSdYI9VSOU2cHXJl7pNH/TkX+ OJ9rhfnuZhKsnzVZzx/Us0OmZMZOACKSej7M X-Received: by 2002:a5d:53c8:0:b0:228:62ee:64cb with SMTP id a8-20020a5d53c8000000b0022862ee64cbmr4495871wrw.267.1663925423276; Fri, 23 Sep 2022 02:30:23 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:5990:ddf8:daac:3833? ([2a01:e0a:982:cbb0:5990:ddf8:daac:3833]) by smtp.gmail.com with ESMTPSA id r9-20020adff109000000b00229b76f872asm8619293wro.27.2022.09.23.02.30.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 02:30:22 -0700 (PDT) Message-ID: Date: Fri, 23 Sep 2022 11:30:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 5.15 247/779] drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR Content-Language: en-US To: Greg Kroah-Hartman Cc: Stefan Agner , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Sam Ravnborg , Martin Blumenstingl , Sasha Levin , linux-amlogic@lists.infradead.org References: <20220815180337.130757997@linuxfoundation.org> <20220815180347.894058731@linuxfoundation.org> <892a917454bd0bbfe8a4d34a5170fe50@agner.ch> <685b64f60375b69c5c790286f1386be3@agner.ch> Organization: Linaro Developer Services In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 23/09/2022 11:18, Greg Kroah-Hartman wrote: > On Fri, Sep 23, 2022 at 11:12:02AM +0200, Neil Armstrong wrote: >> Hi Greg, >> >> On 13/09/2022 13:22, Greg Kroah-Hartman wrote: >>> On Mon, Sep 12, 2022 at 08:48:24PM +0200, Stefan Agner wrote: >>>> On 2022-09-12 18:08, Stefan Agner wrote: >>>>> On 2022-08-15 19:58, Greg Kroah-Hartman wrote: >>>>>> From: Neil Armstrong >>>>>> >>>>>> [ Upstream commit 0af5e0b41110e2da872030395231ab19c45be931 ] >>>>>> >>>>>> This implements the necessary change to no more use the embedded >>>>>> connector in dw-hdmi and use the dedicated bridge connector driver >>>>>> by passing DRM_BRIDGE_ATTACH_NO_CONNECTOR to the bridge attach call. >>>>>> >>>>>> The necessary connector properties are added to handle the same >>>>>> functionalities as the embedded dw-hdmi connector, i.e. the HDR >>>>>> metadata, the CEC notifier & other flags. >>>>>> >>>>>> The dw-hdmi output_port is set to 1 in order to look for a connector >>>>>> next bridge in order to get DRM_BRIDGE_ATTACH_NO_CONNECTOR working. >>>>> >>>>> HDMI on ODROID-N2+ was working with v5.15.60, and stopped working with >>>>> v5.15.61. Reverting this commit (and two dependent refcount leak) to be >>>>> the culprit. Reverting just the refcount leaks is not enough to get HDMI >>>>> working, so I assume it is this commit. >>>>> >>>>> I haven't investigated much beyond that, maybe its simple a case of a >>>>> missing kernel configuration? DRM_DISPLAY_CONNECTOR is compiled, and the >>>>> module display_connector is loaded, so that part seemed to have worked. >>>>> >>>>> Any ideas welcome. >>>>> >>>>> FWIW, I track the issue in the HAOS tracker at >>>>> https://github.com/home-assistant/operating-system/issues/2120. >>>> >>>> It seems that backporting commit 7cd70656d128 ("drm/bridge: >>>> display-connector: implement bus fmts callbacks") fixes the problem >>>> without reverting this commit. >>>> >>>> @Greg, can we backport this commit as well? >>> >>> sure, now queued up, thanks. >> >> Backport of 7cd70656d128 ("drm/bridge: display-connector: implement bus fmts callbacks") is still missing in 5.15-stable. > > I see it in the 5.15.68 release as commit 590b4f10e3a4. > > What am I missing? Nothing, must be tired, was looking git log in the wrong path... > > confused, Sorry for the noise, Neil > > greg k-h