From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795777876; b=uyIEM11asb8CFN7Cqeh3OlaM0yBSA8Kj5DA/Pw0PuqM2RaNBamg2vAcXk3zLe6rqKCPU WqaQxw55aZnGNAE9KCA5ISaj4huSNN9FzlxJ1tRx2m/xTWIFUkixuh+ByCRON5xxfkv98 vfFJq3OP+Hhdq8UR02+MQL49oSuSccdG6oOwLb/C9NmbDf0cWxdrPHPHGjbWQn+9moMpP jlH9WvkZFokRAac849jpsFY5LVzAgw5/udvGHXGLAVUCMOO6+mLCO6clTtUrIim9aEErh DbWJGuVRkvQZiD4yqpOo5FxxBJdzPvDDZfHtyKr+MmIayTw+loUe4GFSrv0UuNQuiWQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795777876; h=DMARC-Filter:DKIM-Signature:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Zoho-Virus-Status:X-Zoho-AV-Stamp: X-ZohoMailClient; bh=+37UfqKqX+TJbR+xq7UVWHeaqVYwEZPU+usFmpTGwuo=; b=FrzNzvz5jCxeMNYpOY4hqyBVAkoVf69VWb7QIE/WQbwU73emWuN2OlIk2MTKXRWOXYO4 pghRWCcEeHPB8JMdF11vmGcer33Xk5SUGN3jRwmuviAh9RczVlJWPISQvAB287UpGHZRR PLBE6prkyrYjoEQvsX/j+PdVF1Io6pR2pWYfNOZZ5lD9khlHpSMaNAlH6v5YRKVuuPczq 5vX5HLiErCxRVnIPjXAzZLIPZyldqk/0iq+x26HBIUlCsMqy2Py5WgaltA80tWz0dRWzC BUJesN6tUzvvnbYKkYwUbfS1WpY4sjQyaBm8JeoS/bUygGDS4mp2ZqMgxoKbv4z4BMw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=fnizvGli; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 Received: from sender5-op-o11.zoho.com (sender5-op-o11.zoho.com [165.173.182.11]) (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 17832606A31C for ; Fri, 27 Nov 2026 11:11:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 17832606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=fnizvGli ARC-Seal: i=1; a=rsa-sha256; t=1795777829; cv=none; d=zohomail.com; s=zohoarc; b=a8kmxRhuP5lxuxlojNXAIhQ1L+75cRsEbByPLn3ftBHMUj9oG9mTx7PArvI5a+ZS6iWDmDyu4JpuvZkCC6p54iVlkOLudBQAYIPpQdCQGpv75aE7/N2eiAV2OBpAA9mOVCCxGxfxQaHaAbw1hyNpfqwj2zjKpoDxnatTON/cHYw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1795777829; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=+37UfqKqX+TJbR+xq7UVWHeaqVYwEZPU+usFmpTGwuo=; b=PWuZco1L4rVObSyiC+jWQeRLyLZONNIywFAOSO76as126ZRJ/eE+MqdPExL73bPaVbSOQyLRCdZVsvEudybloNDqRCpowUMVSihqQkv9KTDVzOG9UQgpqgZ8jdCBhQ+y/vsH147LXvWOnZrYW2qfsN9NKw0fX1+eUr8vVaNUW4A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=sebastian.reichel@collabora.com; dmarc=pass header.from= DKIM-Signature: a=rsa-sha256; b=fnizvGliRm6udOM5RoPw6WuI/I4rXFx18OTEGxxtyOWVCNDKJYkD/l3zc4wfinBMONiA+k+XK6c6sg5vvgsto4mXqA4N6vbC6cTzt1te0TdSrfUyJX6LLVlTZwNEepk0cDFMw4x5G5d1CdgNv50MdxCgpKkF16VZJ9JN/2xyEOQ=; c=relaxed/relaxed; s=zohomail; d=collabora.com; v=1; bh=+37UfqKqX+TJbR+xq7UVWHeaqVYwEZPU+usFmpTGwuo=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc; Received: by smtp.zohomail.com with SMTPS id 1795777826148667.3884646870919; Fri, 27 Nov 2026 03:10:26 -0800 (PST) Received: by venus (Postfix, from userid 1000) id 94313180918; Fri, 27 Nov 2026 12:10:21 +0100 (CET) Date: Fri, 27 Nov 2026 12:10:21 +0100 From: Sebastian Reichel To: Chaoyi Chen Cc: Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chaoyi Chen , Cristian Ciocaltea Subject: Re: [PATCH v3 0/3] drm/rockchip: vop2: Add 8K support for RK3588 vop2 Message-ID: References: <20261116084555.1061-1-kernel@airkyi.com> 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xz5roaz37kmfattc" Content-Disposition: inline In-Reply-To: <20261116084555.1061-1-kernel@airkyi.com> X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.7.7.1.5.4/294.473.96 X-ZohoMailClient: External --xz5roaz37kmfattc Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v3 0/3] drm/rockchip: vop2: Add 8K support for RK3588 vop2 MIME-Version: 1.0 Hi, On Mon, Nov 16, 2026 at 04:45:52PM +0800, Chaoyi Chen wrote: > From: Chaoyi Chen > This series adds support for 8K output on the RK3588 VOP2. HDMI is not > ready yet, but I believe many people might be interested in this. >=20 > 8K output on the RK3588 is done by splicing two VPs together, with VP0 > outputting the left half of the screen and VP1 the right half. In > addition, 8K planes have to be split in half as well to stay within the > width limit of a single plane. Similarly, there are a few post-processing > details that need to be handled. >=20 > Note that splice mode is not only usable for 8K output. This means the > mode can be tested at 4K and even lower resolutions, by simply changing > this one line: >=20 > -#define VOP2_MAX_VP_OUTPUT_WIDTH 4096 > +#define VOP2_MAX_VP_OUTPUT_WIDTH (3840 / 2) /* for 4K test */ >=20 > And yes, this has been tested at 4K over HDMI on the RK3588 EVB1 :) I've done this test for 4K over USB-C DP AltMode (using my pending patches to get that working in the first place) on the RK3588 EVB1 (I disabled the HDMI interfaces and routed USB-C to VP0) and it works: Tested-by: Sebastian Reichel Greetings, -- Sebastian >=20 > Changes in v3: > - Link to v2: https://lore.kernel.org/all/20261029081429.862-1-kernel@air= kyi.com/ > - Cast the result of drm_format_info_min_pitc() to u32 to avoid 64bit div= ision. > - Rework the left-window splice check to avoid pulling an unrelated CRTC > into non-modeset commits, and use the new CRTC mode instead of the > stale splice_mode flag(Sashiko). > - Reserve the splice partner window when the partner VP has no CRTC, so > it cannot be assigned as another VP's primary plane(Sashiko). > - Only set the partner VP's CFG_DONE while the new state is in splice > mode; do not force it when leaving splice mode(Sashiko). > - Program the main and splice video ports in a single layer-mixer pass, > and apply the YUV overlay mode to both VPs(Sashiko). >=20 > Changes in v2: > - Link to v1: https://lore.kernel.org/all/20261022071737.508-1-kernel@air= kyi.com/ > - Missing removal of the replaced line(Heiko). > - vop2_win_get_pstate(): use the left window's state only in splice mode(= Sashiko). > - Reject splice windows already in use by another CRTC(Sashiko). > - Check the splice partner via drm_atomic_get_crtc_state() instead of the= runtime flag and unlocked read(Sashiko). > - Set splice_mode_right/left_vp before the error paths of vop2_crtc_atomi= c_enable()(Sashiko). > - Validate each split half against the min width 4 and max input width; a= lign NV20/NV30 like NV15(Sashiko). > - Latch overlay registers at the left VP's vsync; don't wait for the part= ner's own cfg-done(Sashiko). > - Program the color key on the window actually being updated(Sashiko). >=20 > Cc: Cristian Ciocaltea > Cc: Sebastian Reichel >=20 > Chaoyi Chen (3): > drm/rockchip: vop2: Use drm_format_info_min_pitch() for plane offsets > drm/rockchip: vop2: Skip UV plane setup for packed YUV formats > drm/rockchip: vop2: Support 8K output by splicing two video ports >=20 > drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 5 + > drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 579 +++++++++++++++++-- > drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 66 ++- > drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 370 ++++++++---- > 4 files changed, 857 insertions(+), 163 deletions(-) >=20 > --=20 > 2.53.0 >=20 --xz5roaz37kmfattc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmsJZRgACgkQ2O7X88g7 +pqU3Q//R1kUfPIEKaFvN9LmvJDBrOItlO/k7Nwle8vs14eDYVet8bkNUiE5T2mJ PLBSzoc0w9KM1+wGCNzlysIH89dh8o8RZzQPpg+6v+D4TRijTLAuhfA11r6SfVkm wtcag4MCwgcMTcVxf7V1bT34sum/Kxnpg4rPw7GpAb3CD0Mu+c0BbWig+ndNp7QS iXSi9PECwLWP5o2YSY/GdV6dXy2B74QofXUJmw9ve31fNyNQDI8mj4AyObHgSPbV Dk0p9SGCij1ImqyESt8jeMM2sgAspQbKJs2nKxvY6C2L1yzK9zuPbIaooPwTKNfl IyJ+c+6rcMWltQRTFkWaNiiWIDPkUxDki2qit3rju8FSxDe5yM3jZTVbTDOYECVA e2ysSTjqk9EPMPcpE3UbTJ4w4TVNErIz6vrCmjTpJ67da4kV5iTiBpX1QRRT6poj wrWR45O+HzASyAdGbeAjDoibZnrGMBSXSXQl+2VPR2RV6irK8faUn+owW/UvHnxr OUinP9Ek67fNCpr7y15V+hBUihSI79IOBK3IR5XAt3l2gFTN39NMiif9UZkX9lDZ M6SoADc/lYTfmbScC4QpPQxuMoYuV4IEhcUEC3Jnyp/BPmJ36dY3lll4xac1SESA AtW3pXF1WiPxGoY2Ndb5iJ0tn18hzXC10qY56vp6esS/et7zcQg= =cg/c -----END PGP SIGNATURE----- --xz5roaz37kmfattc--