Re: [PATCH v3 00/17] drm/spacemit: add SpacemiT K3 display support

From: James Morris

Date: Tue Nov 24 2026 - 22:53:17 EST


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 <jmorris@xxxxxxxxx> # 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
<jmorris@xxxxxxxxx>