From patchwork Tue Oct 31 13:26:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 16101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp238237vqg; Tue, 31 Oct 2023 06:27:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAjlzd5m5QHel5cGHs2qhSpz4ZhDmfwlWK3VLJpXFVjVBgjPN/sA2iXEO5BVuqTAj4jK4N X-Received: by 2002:a05:6a00:18a6:b0:68b:bf33:2957 with SMTP id x38-20020a056a0018a600b0068bbf332957mr11614018pfh.22.1698758852882; Tue, 31 Oct 2023 06:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698758852; cv=none; d=google.com; s=arc-20160816; b=gugQTCo5xGVJIqmciOejriTZau4IjVXwakfB88Ixn6K485nfD0AiQ73KMoUAi9lnU8 5ml1chX3G4INh4BNmjmUNowOmC7xPCNQpVQQq0XxVA0aSH/dkK8gHHYTVQjQmRGh+aMu VcaTkIGGst+520lwtil8PxP9kBu5oV6a6IRUkkSY8YWbsAmtdyFd5VYY8TY2bQm9+csX M8RI6jrIG+vh5Yo3A0tZUxlRRyDyTJlE5RUQoyOwxyBLB/Ok3ZWJ4kJ0vtBbQh97+K66 uXTzmVskqHIhb1CErRENjlZDEyrkSlvKsonoml3VzSLOghy4Ict2U8gWOzqIm/NSLAoT P5kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=hdeHZrME8P6Louq4MUhWyv9GwqhB0E7Bp23Fagceyj0=; fh=bpp/3S1Fl0AhI4Z5K3UWdDvav5T/++yXwguVMoLrE64=; b=Q75G+Qglix5LDJpXVZc12EjabHvxYOfkS998utEyDYktC8gU18ZIheuvdlMt2geylu l9si9oGvA7MGHq4FaKvn/ZLzCRbDNsr4x7zDjSZt4UyBRVCYxvOty83PIDOQLVpPwn3I PxTaOIQf/kNLtMgvEsJ92vZp3G43xuqy4gSN1xmQVcHSM0BVKqFCpIeQ1zH5dQoXzHlu vw0QXXCSdY10CCiyqC+4lWcPIFm9fZVrp0cRIH5jVbkM6flzsYhrobYFeGqeNkV1CGOF jRhNLf5OrVt3/TwXe3HRoNfKu4stJmgg1y3Tllav/WFkCI3BeBcccilOlgdhN2AaBbBr hJig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Hfc7h1WL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 12-20020a63010c000000b005ab190f9504si1024582pgb.602.2023.10.31.06.27.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 06:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Hfc7h1WL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 89DAA802F94C; Tue, 31 Oct 2023 06:27:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344539AbjJaN1S (ORCPT + 33 others); Tue, 31 Oct 2023 09:27:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344534AbjJaN1R (ORCPT ); Tue, 31 Oct 2023 09:27:17 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A54DDE for ; Tue, 31 Oct 2023 06:27:15 -0700 (PDT) Received: from [127.0.1.1] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 155F22E4; Tue, 31 Oct 2023 14:26:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1698758816; bh=DKmaSBfPjAsmOSB9gUuE7vHDo+c0zsyY9ydX30rB1A8=; h=From:Subject:Date:To:Cc:From; b=Hfc7h1WL+b3dTT6me8poqawgiL8QZbdMP5u8V5EQ42fcmlG656uKpIAyB+L24Kdub azU2DSd0fdnFCt96ZkxS9RRqQl13cy34Ok6AqmIPvXbkku3KinzvrAozWWQrydgME3 FlcwcA4DrND1rxEt+mUriTAJSaK7aD/co8Gi7xQY= From: Tomi Valkeinen Subject: [PATCH 0/2] drm/bridge: tc358767: Fix DRM_BRIDGE_ATTACH_NO_CONNECTOR case Date: Tue, 31 Oct 2023 15:26:54 +0200 Message-Id: <20231031-tc358767-v1-0-392081ad9f4b@ideasonboard.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJ8AQWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA2ND3ZJkY1MLczNzXVOLVOPUpJQ0S9M0AyWg8oKi1LTMCrBR0bG1tQC xyQPxWgAAAA== To: Aradhya Bhatia , Jan Kiszka , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tomi Valkeinen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=927; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=DKmaSBfPjAsmOSB9gUuE7vHDo+c0zsyY9ydX30rB1A8=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlQQCrxVSQlEDB/+qxvhhun+vLisEHOP1uoyRNr KEWcd0zosWJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZUEAqwAKCRD6PaqMvJYe 9ZsFD/9XnGfVZTV3Dap6sY6rAeOcpa1qfhRmVPBfc2A02r53KFsXmBH3L4TMAYy3tw/BegW4Aw0 6cXWmCOQjQAhoQa4VAJSmS+FfVPJEqusm1LjpS7V7Q30eTlkvLy/+tdKYeZGMllsnC6tyOi/OyC QW5uXAaM7dA87qWzOTcNZpqus9S4tfjFa2rr+vjfPFqPEDc6VadiENqBrtMtA5NoylHDN4b3qMM fmH5JYu6dlISL5Vn9DBTtgdE5lD29BVrtJf8bbDMDRwEJcCS5Wcia5EbYv6PTyfBYiFJ0fM4bpx lSBCZn/7fG7u76geGEWX8P2jF4v2cSYshGKCB50zDDjjTEvO+9p6GGk5CwDY3OcEe7DyQPqixNT ts7ws2eTlTraOqNxNByha6Ab0tLCmQiTolQVUsilFH2PBVyPSPK4fqup2iJ1TmXub4CJudyNmJZ Vtmb10z51IhOTnkMI6xQVfpL6Df+sw7GlXR1HEIJSR35zHvSCTW6B9pF4Z10JyLmFc8rpXek5pc pk65TRVZD/eHe8r9puGsBvKQVDQE05WgaI5XUcL2OGk0ypIFSD7yrWVlfVmTqx3X9T9qiTQxofX GqxnlWC7cp4YUJtoxdAhFkjDsDJubeAJ7k4sF7nmXKwyhXj/dOe5uVwLRhysLeJbWPQYNg2r7td T6VWaSEdaMmEQkw== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 31 Oct 2023 06:27:30 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781277763058550038 X-GMAIL-MSGID: 1781277763058550038 These two patches are needed to make tc358767 work in the DRM_BRIDGE_ATTACH_NO_CONNECTOR case, at least when using a DP connector. The first patch, "drm/bridge: tc358767: Support input format negotiation hook" was already sent separately, but I included it here for completeness, as both are needed to get a working display. I have tested this with TI AM654 EVM with a tc358767 add-on card. Signed-off-by: Tomi Valkeinen Tested-by: Jan Kiszka --- Aradhya Bhatia (1): drm/bridge: tc358767: Support input format negotiation hook Tomi Valkeinen (1): drm/bridge: tc358767: Fix link properties discovery drivers/gpu/drm/bridge/tc358767.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) --- base-commit: 79d94360d50fcd487edcfe118a47a2881534923f change-id: 20231031-tc358767-58e3ebdf95f0 Best regards,