From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49EC7606A31E for ; Wed, 25 Nov 2026 03:53:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=PVMAviJy; dkim=fail reason="signature verification failed" (1024-bit key) header.d=namei.org header.i=@namei.org header.a=rsa-sha256 header.s=2 header.b=a3AeraWl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=3JnS+ktkN3FNdq33q1kPqWAqan0vzG+mXRmyIfZqBoE=; b=PVMAviJyl3PqR0MjTEOxnIXeb5 o9cRyg+gxubHUcn0jEOmxgzo1DmNQl/XajKJj223u4g0wogwOzLpxf/XswbJWLTy94Sz4lDBqUqQw meeEDwiEPFelIH29EziOvPeyri41AYFcQ6S7S0+KIxZMBUxEVt1WIeuYTyOwkWFc4Y/qfl0YZ9vsx /p2xoFntBn1lygg/m96a1uZqmDDsTEi9ZiUoeTb/ZIRsCwd6X0+E3adcV1UkcF2nfZRdRLPflDpXs OYGRmAnlCNGqOM5wEU+/e59n9owxt6nADnIRvNI/9u3bHzc3sohj644drfsXuB5uiXZJx9k0uX4PC x4u8rJvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW44L-00000008M84-02LT; Wed, 25 Nov 2026 03:53:17 +0000 Received: from namei.org ([65.99.196.166] helo=mail.namei.org) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW44I-00000008M7c-30Ui; Wed, 25 Nov 2026 03:53:16 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.namei.org (Postfix) with ESMTPS id 73F592FA; Wed, 25 Nov 2026 03:53:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.namei.org 73F592FA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=namei.org; s=2; t=1795578791; bh=gpn0UCdoZZeC5B0l3wY/XpSaKvgOSjTK0REYdcoxBF4=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=a3AeraWlEkmuoZtzUbJF8G20eVOhm2DteJPZL3L1bOGQ9DO5TMITBMCuGtxv1Lydh 7M8wg668sKPjnLtzsS9sDVgKfJPY7vUblJ39jCbNs5NCg5opFEvJbLxot19LSeCYqd nca+i+o6iWgLl0x5++pzMMPda2h407h2YJEW+gYE= Date: Tue, 24 Nov 2026 19:53:11 -0800 (PST) From: James Morris To: codykang.hk@gmail.com cc: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Troy Mitchell , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Haylen Chu , Michael Turquette , Stephen Boyd , Brian Masney , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yao Zi , =?ISO-8859-15?Q?Uwe_Kleine-K=F6nig?= , Guodong Xu , Icenowy Zheng , Jerome Brunet , Sarah Emery , Ze Huang , Dmitry Baryshkov , Cody Kang , dri-devel@lists.freedesktop.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v3 00/17] drm/spacemit: add SpacemiT K3 display support In-Reply-To: <20261121-k3-display-v3-0-ec419e8e96b8@gmail.com> Message-ID: <87eaeb2-b6e9-9198-b9cf-7e9f96bdcbc@namei.org> References: <20261121-k3-display-v3-0-ec419e8e96b8@gmail.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261124_195314_875731_9EEAD48F X-CRM114-Status: GOOD ( 10.99 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Sat, 21 Nov 2026, Cody Kang via B4 Relay wrote: > This series adds display support for the SpacemiT K3 [2], a RISC-V SoC: > a new DRM driver, a new PHY driver and three new bindings. Tested-by: James Morris # CoM260-IFX, DisplayPort Assisted by an LLM. v3 on v7.4-rc1 works on a SpacemiT K3 CoM260 IFX with an Acer EDB323QU (2560x1440, 144 Hz) on the DisplayPort connector. The DRM, DP and PHY drivers were built in, and Linux ran from an initramfs with clk_ignore_unused. The board has the vendor U-Boot 2022.10 built on May 21 2026, not the uboot-for-k3-display-verify branch. That link in the cover letter returns 404 for me. What ran, over two boots: - Probe: the DPU and the DP bridge bound and the fbdev console came up. The kernel log has no warning or error. - Modes, with modetest: 2560x1440 at 60, 120 and 144 Hz, 1920x1080 at 60 and 120 Hz, 1280x1024, 1280x720, 1024x768 and 640x480. The picture was clean in every mode I watched, including 2560x1440 at 60 and 144 Hz. - Link training: all 22 logged attempts passed at the first configuration tried: 1.62 Gbps x2, 2.7 Gbps x1, x2 and x4, and 5.4 Gbps x4. - Page flips, with modetest -v: 60.00 Hz at 1920x1080, and 144.00 Hz and 59.95 Hz at 2560x1440. An atomic plane flip held 59.95 Hz for 80 s. - DPMS: the fbdev console blanked and returned in eight cycles. I watched three; the link retrained and the picture came back each time. - Hot-plug: I unplugged and replugged the cable with 2560x1440 active. The connector status followed and the picture came back. Two observations: 1. The HPD interrupt never fired. /proc/interrupts stayed at 0 for cac88000.dp in both boots, also across the unplug and replug, when the stream was running. The connector poll caught both. 2. With the monitor asleep, nothing was displayed. It kept HPD high and returned a generic 1920x1080 EDID. Link training passed at 2.7 Gbps x2, but the monitor stayed dark until I woke it by hand and a later modeset retrained the link. The kernel got no event when the monitor woke. I found no DP_SET_POWER write in the driver; could the sink be left in D3? -- James Morris -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy