RK3588: expose 4K@120Hz modes (VOP2 dclk limits)#1326
Open
jamautt wants to merge 2 commits intoJoshua-Riek:mainfrom
Open
RK3588: expose 4K@120Hz modes (VOP2 dclk limits)#1326jamautt wants to merge 2 commits intoJoshua-Riek:mainfrom
jamautt wants to merge 2 commits intoJoshua-Riek:mainfrom
Conversation
added 2 commits
December 13, 2025 08:26
Auto-apply local kernel patches during build and include VOP2 changes to allow 4K@120Hz modes (raise VOP2_MAX_DCLK_RATE and VP1/VP2 dclk_max).
Add a PR template to document summary, changes and test plan.
|
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: expose RK3588 4K@120Hz modes on HDMI
On RK3588, 3840x2160@120Hz (VIC 118) was not being offered to userspace because VOP2 mode validation rejects the mode due to per-video-port
dclk_maxlimits (VP1/VP2 default to 600 MHz).Even when HDMI bandwidth can be met via YCbCr 4:2:0 (TMDS ~= 594 MHz), the pixel clock remains 1188 MHz, so the VOP2
dclklimits must allow that mode.Changes
scripts/build-kernel.sh: apply local patches frompatches/kernel/seriesduring kernel buildpatches/kernel/0001: increaseVOP2_MAX_DCLK_RATEto 1200000 kHzpatches/kernel/0002: increase RK3588 VP1/VP2dclk_maxto 1200000000 HzTest
sudo env SUITE=noble ./scripts/build-kernel.sh.debpackagesdrm_infolists3840x2160@120and the mode can be selected