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=1795615610; b=muZ14vaFfdjdDAh3xigFcXQ/gcAHB2xy71MSFGjvgwTmWCkrMpcd9cDucMq0JJD+5UQq 6hEM57U6xZlwkU+povQSco8IoXGOYj2nVzcfw95Cblp5p3bG+aMSunFH9SC5TUDvSgIGC GweJdTWR2Hqwsc4ViMWjEJ5PNHXLbOW0QrEM8gzWY4JECHv8g5qZrWHgB7GalPEN/tix1 pm2xqLQ1IZ3+6dikDYgheLldwc6nKzOmxoyNBevGPQswAwWNfVFLVOg/P5NmTzQNE+u4P aUIaKpI+0bTmG/CpsHGz8HVs0Ai00+/tAX2D1vjDTNz3oMipB7N6jO7Agd8tbWud8BA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795615610; 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=5iOuiLu136DFvfAVjW/t7UxgTkD64qVEDrgmxUKh/ytfk4peznx0jSk/xlnzGxvRgZWp fQpVXjWGbAUWYgN1brdgWWh+DJPIjs00yawgKMuC0koGKLX89/OQs4r83fRfznWUJZIoF AzwykyS1ZfgY7MrVJ2y6bXvlDrm2DuSfRf2ss4U0mzbUTvlmsGKj9lsC+O0/CCEIByvlf ao6vCS6fYnzMxiK+zH8ozLo93yD5XKk2q72dM89BsJjbj7icvo3iOEJoZROimE37Og/vC 93kiot8qkwq11VFGBPOuOP09APrH6IaOF0bw6QMVOa32tVecyp50+PoIkfz3LDe06/Q== 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 51167606A329 for ; Wed, 25 Nov 2026 14:06:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 51167606A329 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-1397ad3d891so813043c88.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=IMKwiblYMxLF0L0vjYQzJDPtvUwx0sYecOc8Zh5u7dfQfGbUIevwvhK3LtpmtQ7Jlh e99AfUqN9+C+3k1l2Rc4ph2sJCqRi8ZC2lmN3Ji3Yd7kjJllf3c7vJeTFgYv+1UAkBc7 zND+QsMM/gHAkyQ140ERq6e14FiIvYCCmaaK4/TjItqtLbP0Ts6+pAVUqFcOyuS1pADY u5HmYuOLSmXuWxEYhXwqODOBnb7IEOEOwiijQ3qoR7tT21Q5ENey9nDO5uYRNTyq0t7y OSWqCA+ss+lPzhfmNsYqV9Jf6Jw5QFChFw9k57PJvYAJj38Q3uVOw4pIgg+CxN7yKKqo QzaQ== X-Forwarded-Encrypted: i=1; AL+hErHuEShc39DshQ3LpHL1vfwN0+juGS4XDJALQjRtCTFPiF8fx5qC5Au+MGpgLMwhZig2ZjVlxbD9R4Wih0A=@vger.kernel.org X-Gm-Message-State: APuU4Z/ooixBOTOaWwIblqNLTjGOF6WbKcmYssKCXOrHLKCRh3q+Et8r UMqxDIyKHGKbXS4nYfdbi1q9QV8zg13kEeaJskaTWDoGtB6Om9GABzas X-Gm-Gg: AZFdTZfredPXJt4k2UPCM0sVSNr9frcB4DLYr68aLGEY7sjmH8/yXPO0ykrcLQIJbTK wxMAtzCT29NN9mCAu5FhUygVLerXnillDJ2rtDuwn2CbIlQUTbDSVaIDO29S1n4dwEp/R2KQk2N FaROqmnJ1KFIfG5S+AHLrJxYDESCgD8S0UCJH6bi6QK+Sd5Eu6JMmwO9nsmLa4wVHqleHRSZJte ERYoSpXZJhyOktQ61imWcDFHiVltIEa3IX2q2fpDFSQ8HyFpKH+Z04da48JcN5eIxxSjK84BVVC TpM8m9TxMbDNvJs9moq76bHXypfB6cOuqaDFoeExMQ3/UNNpzl1gZpsDuvi6MjqNa2Ti3+hLFLC zDjKb5QSbOQuOuabBOqVJi2UTfOWvfqG60KmwOE23X8cZT4QmOpqVCNhCGiDBGePxXyOh++FamA cWQKrx+mhAgPOxrpHcEOY25TUkm0nSu1Wp9Pk9yKT6ZWQDxByNO9lLjszzch5SezpLF4c6m8oK1 FS04CPBc1PfXn+wj3KRNcSQXJYkKGBSsVJHI3qIZvRnuxP4unptVBj1Mip3kjwrCHjt74FVmwJb oOk0ha5v0CgFaFcGZKJ8Q/OjZSqUgVH1vrPhteH5Ww== 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: linux-kernel@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