Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3413592rwa; Tue, 23 Aug 2022 04:29:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR7RZnxol8ujoJjhuLYz9Oay1uZlBGJr7Fq5OhdVM7VF/sha5pObVijOBNZ5oQZlp2YNo92A X-Received: by 2002:a63:d1a:0:b0:42a:d321:faa4 with SMTP id c26-20020a630d1a000000b0042ad321faa4mr4451029pgl.532.1661254192584; Tue, 23 Aug 2022 04:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254192; cv=none; d=google.com; s=arc-20160816; b=CMYZ0vbSXYqtyVI0R3MuWPiev4I9kt0UaEA29hPoiU7JIWf6lFww0PgmxLn5D0QUV6 8BPbbDvpOPxagklynAJ7HgZS4gXOZu0BMgQJG9LicvC4O+uJG6Z0FkUxKvHe2nJ7/4TX 4/sJR7hPMc9CtxsQyO6BC+zKf7ceutt29NcyQ8/3Y+M0+E5rhIXCI+y9BOeRrQYX9uXM N2m8vfDwTcgPsY7yA3n4qJVOUYBujS1di4JxjwOQ2ah8uaiJmwe57DCUOieAd7z6pYxF go7aPhRyw37q9L9940gh+zrwPXiF8IDhqtdbIZFpx8xhXQLR2/6F86HzyIQkGNMOwrTT 24Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=d9Jw3yn1ntJopc6EWBwQL7fBs4KWBQKzItUaOyctDqQ=; b=ZT2fJBSHZz3F7s8OFvCPafJWxQHg1JORPh/7gEyMUgDa9MvQnfQUQtX0ZSd03s6F16 gNGlF82j0UTjOJKUUPJ6C9N2uqyCfpgI2neHdxI3QfDGv6C33dH8b84Taren5n5gsSg3 bF34Bk71D8SpE5hZqJOnTe+afZhoOqwQ+DAaCjphSHhadvoYeXshhgaohPpNZnYyaT8b JkQ2G/r/MnRhhClps7K5JrbQzeFqAuj14y4YridoG4GARRR43kzsfzpoV6NPkU+/Xg3d uSk4r3quJDC3/ZLk89QWwX8D0DsO7Xfx6cp9kBTUvxqKNtdHPqw54mxhyZ51IN/E6ytP rLYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=p4vHnKrq; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa3-20020a17090b1bc300b001fb6116f766si1685934pjb.132.2022.08.23.04.29.41; Tue, 23 Aug 2022 04:29:52 -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=@linuxfoundation.org header.s=korg header.b=p4vHnKrq; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243980AbiHWKRX (ORCPT + 99 others); Tue, 23 Aug 2022 06:17:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352857AbiHWKGX (ORCPT ); Tue, 23 Aug 2022 06:06:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F56863EF; Tue, 23 Aug 2022 01:53:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ED960611DD; Tue, 23 Aug 2022 08:53:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E67BEC433D7; Tue, 23 Aug 2022 08:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244800; bh=mfXabLGDY9gETB+b3ZUJCxSsB/UQoJhhDwkWQHOl0eE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p4vHnKrqr3HBCucTvpgRYOsETuwctNneXlzZ4BIhsB6SeIcUUXD1J2jjqgCYgBshZ B2bAHaLE6zccAG0AZMIwwKKVPXEBMzTIk76Rr6ejnXwYMJObjjEWoqtywLVvNSuMNT r9s6zkLqd5zPlWXlz0VbYkqOKTWtvXFjzFI/K/fQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Laurentiu Palcu , Laurent Pinchart , Sasha Levin Subject: [PATCH 5.15 154/244] drm/imx/dcss: get rid of HPD warning message Date: Tue, 23 Aug 2022 10:25:13 +0200 Message-Id: <20220823080104.340461036@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080059.091088642@linuxfoundation.org> References: <20220823080059.091088642@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Laurentiu Palcu [ Upstream commit 30bdc36b8c776cd4fce5de2a96ff28b37f96942f ] When DCSS + MIPI_DSI is used, and the last bridge in the chain supports HPD, we can see a "Hot plug detection already enabled" warning stack trace dump that's thrown when DCSS is initialized. The problem appeared when HPD was enabled by default in the bridge_connector initialization, which made the drm_bridge_connector_enable_hpd() call, in DCSS init path, redundant. So, let's remove that call. Fixes: 09077bc311658 ("drm/bridge_connector: enable HPD by default if supported") Signed-off-by: Laurentiu Palcu Reviewed-by: Laurent Pinchart Link: https://patchwork.freedesktop.org/patch/msgid/20220721120912.6639-1-laurentiu.palcu@oss.nxp.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/imx/dcss/dcss-kms.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/imx/dcss/dcss-kms.c b/drivers/gpu/drm/imx/dcss/dcss-kms.c index 9b84df34a6a1..8cf3352d8858 100644 --- a/drivers/gpu/drm/imx/dcss/dcss-kms.c +++ b/drivers/gpu/drm/imx/dcss/dcss-kms.c @@ -142,8 +142,6 @@ struct dcss_kms_dev *dcss_kms_attach(struct dcss_dev *dcss) drm_kms_helper_poll_init(drm); - drm_bridge_connector_enable_hpd(kms->connector); - ret = drm_dev_register(drm, 0); if (ret) goto cleanup_crtc; -- 2.35.1