From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.229.137 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795615609; b=1rJ9fblcILqulCP2jHJYz7OWEV4sbz3xKwXmKeM3lzGoacfI14e0zapRBWLMu/14bQcS LGsq/oWchUcYGl7gk1J/nSo/BRg6fB73gHNUtvhmltBgXAxixdjnYrSJ5jSQjCT/yGldA qESfeBpXr60AXrFNxCj7dT/fWZC91Tl//+BzcxTD54O8YhgWRe84ZDd6NFmnHzmBDtCXk JPIJIIRTBXZYrb3peFe/tTBWFrZELuMBirLlqxtodDy+Y+9919YBE69dCa92nd29RvRdO 9WQAt83z5jwfI5QkaMNjyD+rMfdp2w9SNYi6P96NYufTor3YHhjfbaVWI0ZkpqLTpTQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795615609; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:MIME-Version; bh=MP09FK8BKciK7H/NzSBFI5ee4XjfPiGr8z/17qMy3kI=; b=4yhNFsFEE6UGSZ+BqlGScwDDW+AQ6uIIf966x+YQrxT5j8hNt/RnmgiIBcltiM9aHZke 80AMvcTH+uV+X0q7GHoAxBU1HM7d9fUIQ207wLNsqQH0AJDAUp0xycyLm4fzq0gsmtBy/ q/zmQutsWzCryPJgk2pagLShWiOSIdcNinDsd1Z7GLB/vbrTpKy1VDvvG+FZDLFxQzIEQ AtOu5xJyBBAAMwNL8L39IuSzR/mQeYSDl0xnIWVqRJi9FBeAlXwnQR/9yMV5x+Z//kJEC +mi+VBW3SjiAp9GkwTDZq0h2sQqN8gy+kn92g05YIq4F5dknQMLHGbtPywHHERsXZJw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=fVeMPU2L; arc=none smtp.remote-ip=74.125.229.137 Received: from mail-dl2-f9.google.com (mail-dl2-f9.google.com [74.125.229.137]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 510A3606A327 for ; Wed, 25 Nov 2026 14:06:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 510A3606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=fVeMPU2L Received: by mail-dl2-f9.google.com with SMTP id a92af1059eb24-1397ad3d891so813036c88.0 for ; Wed, 25 Nov 2026 06:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795615608; x=1796220408; darn=vger.kernel.org; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:subject:cc:to:from:message-id:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=MP09FK8BKciK7H/NzSBFI5ee4XjfPiGr8z/17qMy3kI=; b=fVeMPU2LQflS9t5Hux2xZmBbd7AQUgCcFsHVsMBbyb1onFoxxv3rIAiSh8CTXacTz+ mICIXq3wAe4SwVyPYoPXICZjy5J+0ufY/gVPITAUp1VduxA6gs5TKZ7ujaR+CNRDdVke qseDoHa6B02E4Al6EO6DimgZyCpiUI0Mp/xCUBDjxMHVjVSNkWK/TMndxsQyephR/Ami AgLrZbfaIMMJOnAFvi1fgUon/13tg7hzXIWWbeU1E6SM3hEDzj2mGRbFjpkx6oOBnpiw 2U5MkOtkZrRf3aUiyMSho4m5cajyw7M7+d3xs+w6weTOoBLbjnXZPTGNbBb/jBVKN8Gv 6JWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795615608; x=1796220408; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:subject:cc:to:from:message-id:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=MP09FK8BKciK7H/NzSBFI5ee4XjfPiGr8z/17qMy3kI=; b=qKoC3oBoRu4bQ7aY09WsDbRlQoX/ygb8FDeWANv+s6Nc0z/IPDQxMMlxdZKML+rzPf 7R6ES4LMxYnqvtaJuaK8EkCMFi8vnGidIz9QSPuhpxLUJY+e79vadXahMOxlbn2YBqTJ 1ZGoUDjAcPhOnuIMft89mB/bN8ciX2pz7uws1I1nSYlY8O2pKMztECuu071TzmoVFdNK bW2ma9USrjOoFRj7+N/4ZaPx29k60hIf92KqeI2YjZRRl01BqJIlrvk6PCqP0JX0xTrH 67DvKDzsc/Ic61ZjaBYhtMcutTxAmmLUPGAF5ZP4MR5lZH4Pl2le5Fj4r9fhnLXwKtNh gJhA== X-Forwarded-Encrypted: i=1; AL+hErFhjSryBUpWvRNLGpz+D3Ng45Gqcrs6ADRWnYQ1OVhGN1WD8L5ZFo5OU3tm/4pimewWZGCkEp+PlJY8@vger.kernel.org X-Gm-Message-State: APuU4Z8g5WwAXpeCBjb3V8o9qJ21TGxEu11MIN/rpqO6jdtkZJcQRshT hRA+yDG9iYbHjH7tYHeidmI8SeOWBdb7rq4uC/VN6D+yllDfM2SO5bK4 X-Gm-Gg: AZFdTZfWpgJPJAPBYXOryFsuFIyx8HZShzdF5jkprTJdbq7tQk9ChmcD/usiXqBPU+W Be70Sd7zd9/Yi9hbKJIXpEcgD3dp1hBfLUKq62khdKw4Q5XqD273u+wY1Dw4FPwpXSsLmEm7DmL JyTdedgqvE2dd7G5DsubsAO1ypOUxNUJIJ8jtuYcI7QYq28Z0KkwO00xmdWwU9/MM7TfYVJNcLw 6Vs3GwVJbwzQxdSx+XyURxQ/aWm0I7flHTsCzDi2a7dbBEACz0RWob64Abbt5kEPLZJri/bKUu3 UP4h2IXS3r04X8NT30HwU4HijjTB6Ts3Za90rDPJYugMwdj+pwaC4OgW9qE9LcavnMfxFrbV8se tlZztn7rcTPdKdwu3eetWyJ8Wo0p+P7JRxpd7Q1aOIq8UVH7FwDUkEhGZSAz2PVBAwbEbrtznqK EOtnlJZQdnojZwyBGHzjvmSM89HPN6vmXFe0GKwNUzPnRVcmZMtxMmTQj5Z9zzvoRJNhSgsOunw 90PlMMhURPhr5npJGraMuqlJIHeR/z7IgMtYIcOgWfft/DOGH6TEDq8gF/tmQIG/Gs9gLDtt4tp wBHVWDU81TiKCUgbuVMLujG3jImPU/j0OQzyIcz1og== X-Received: by 2002:a05:701a:844e:10b0:1b0:20:6444 with SMTP id a92af1059eb24-1b56e185990mr10444498c88.39.1795615608143; Wed, 25 Nov 2026 06:06:48 -0800 (PST) Received: from localhost ([2604:a840:3:1e0::3003]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38567cafec4sm61981028eec.26.2026.11.25.06.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 06:06:47 -0800 (PST) Date: Wed, 25 Nov 2026 22:06:43 +0800 Message-ID: From: Cody Kang To: James Morris 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 , Uwe =?utf-8?q?Kleine-K=C3=B6nig?= , Guodong Xu , Icenowy Zheng , Jerome Brunet , Sarah Emery , Ze Huang , Dmitry Baryshkov , 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: <87eaeb2-b6e9-9198-b9cf-7e9f96bdcbc@namei.org> References: <20261121-k3-display-v3-0-ec419e8e96b8@gmail.com> <87eaeb2-b6e9-9198-b9cf-7e9f96bdcbc@namei.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Hi James, On Tue, 24 Nov 2026 19:53:11 -0800, James Morris wrote: > 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. Thanks for testing v3. I will add your Tested-by in v4, on the PHY, DRM driver, SoC device tree and CoM260-IFX patches. > 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. I will drop that link in v4. [...] > 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. Same on my CoM260-IFX: the count stays at 0, also across an unplug and replug with the output on. The external DP connector is polled on purpose. The interrupt needs the pixel clock, so it cannot report a plug into an idle port, and the bridge leaves out DRM_BRIDGE_OP_HPD there. > 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? Right, v3 never writes DP_SET_POWER. v4 will set the sink to D0 before link training. Cody