Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp706079rwb; Fri, 23 Sep 2022 03:03:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jF8T7FMFTPDY4kvfHIYTlBlI2td4gmhlXsU06Tn4vY5bBL56NaNlDAjAEbyoo6zM/eTan X-Received: by 2002:a05:6a00:140d:b0:52a:d561:d991 with SMTP id l13-20020a056a00140d00b0052ad561d991mr8269567pfu.46.1663927400121; Fri, 23 Sep 2022 03:03:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663927400; cv=none; d=google.com; s=arc-20160816; b=EwNJiXlbiCbJ8MoEu5zlb43xDMd7WRGa3If61zp0T0QV8Ay+ieSnvdROqIuElWBq6C SX/8ohCSj/F4O2Kht2v2cgw2wtgLT52ypV4wv6ejCbOPLwbSx6X11zqtbPCkA3IEJKte bJeRgkpxHk5VCM6llVb9Swer29s2mWbpx8SU3h7Zzb9THaCgDgPGinmH5UE8IvsIGf7X 0uDxqvCbHRy7Zbc9sx+modqoJK99iexBjVCFPJ373ins7eOO6DHC2teOiewBATmGvqES zNIwaRhxfZ7hnueVSvdYpxQrd8gCfNqEududT4OBZdD29tck8Qn47kGlKQpRqbJsRAK7 fdUA== 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:reply-to:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=yOhBcsSjO+MpzEhoe8MX0+hDz2sg0Smantc0+52tgkE=; b=UwYaFfkPPGNf8ZWd8u55Gu/sJZ6VTPcZa16PG9omqXYyONs/b1atLKvOS/qETZwf3T CdiyPnTpc0tn5Qs8eH1yIIKayfd61XgmcFs+kdJIHif2c4jjjLOmURfL+FBJq/4WIPfh M98tiC93RgqhtcZn4vGsXT7F/vMbcJXNjhuoJ2zEnZwQGPLRVLXUCjjrrQgoz7FOzBSB nQX3/SBfPbNNSfSGVYarvchiup1SqK0T+RfFD72501hqm93RXaGVDd4MtNYKtnz4TbmR l+p0nhb9p8qm4paD4TD7cG1zJ313BpL+Ljsb/mPxU9ATfprheCl3gfTb6kTo5SZg+6uD tKTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NjlqivXb; 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 c3-20020a170903234300b001788e09566fsi2764653plh.158.2022.09.23.03.03.08; Fri, 23 Sep 2022 03:03: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=NjlqivXb; 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 S230033AbiIWJMI (ORCPT + 99 others); Fri, 23 Sep 2022 05:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbiIWJMH (ORCPT ); Fri, 23 Sep 2022 05:12:07 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F32B012DEEF for ; Fri, 23 Sep 2022 02:12:05 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id n12so19401436wrx.9 for ; Fri, 23 Sep 2022 02:12:05 -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:from:reply-to :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date; bh=yOhBcsSjO+MpzEhoe8MX0+hDz2sg0Smantc0+52tgkE=; b=NjlqivXbtpQ5CRPwvLVYTWRRKOozg7t6ougcXLcAl9rRG7ABs+TlL/HReI/tSZjG44 fcO/MY/f7yRHW+LAdUucAa9lxh+knCGFWTqz0jszx/C/ZP6pvgBU3PInPUeY1/55oQtE 6Owj1nMJglWOnZ89roBuak811ui20t0gErNDe/99puoK9nctXPdzM/5RpYFpidIPtl6p SxlAP7l95SC5jmdEfYViACDknDV+tDUhBfwBN5UMIlXWXz9737qkS9ukG3mVLVjG1BAp dXIdlRPYxRJrQ0iUJtIh/yD2+2/qwg97AQcWFBsR5S6zRXu/nO3ieFrkJof8DX7Ro9HG vJHw== 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:from:reply-to :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date; bh=yOhBcsSjO+MpzEhoe8MX0+hDz2sg0Smantc0+52tgkE=; b=zuys7e/I1EUo0fIJevEsJlH1WbyxAUSUeFh7+z4/cUpR0K9kgXALglXpnLaD6mJYiV JOyb4OzLIZsg5vd+ohgmKgO7QSMywEwWwiRzkZqYhvN6lQKRhTD0QvXOY3d1jORo8CF3 RhrIzQg165VjrR+hTM2bPnYt6CMXYl12VBu6S1hmXZJpi4nyaDre8YO61hqJ+2IIC4s5 EfDR7q2LmtiAYBYUNl2+oBZ4jhAaKKAjeEVM6ydvwjVUvg+IgszLJ84AmnnTpKv8ulKe Hx/fi0apS4qY+8Oj+79/+pOENQxiplTWnDQ2C9o7/q5QPAygn88ryz8jWfOW9IfHMeD1 PkJw== X-Gm-Message-State: ACrzQf2hRQYYRJ4D9Be2wKO6gZBVv5y6/WTMvU+96mMNaOsVLTL3xqAa HAHi/9hnzrNdiQHIldT0lHh79A== X-Received: by 2002:a05:6000:1788:b0:22b:315b:450f with SMTP id e8-20020a056000178800b0022b315b450fmr4801695wrg.615.1663924324444; Fri, 23 Sep 2022 02:12:04 -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 az41-20020a05600c602900b003b492b30822sm2050892wmb.2.2022.09.23.02.12.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 02:12:03 -0700 (PDT) Message-ID: Date: Fri, 23 Sep 2022 11:12:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 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 , Stefan Agner Cc: 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> Reply-To: neil.armstrong@linaro.org From: Neil Armstrong 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=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 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. Thanks, Neil > > greg k-h >