Skip to content

RK3588: expose 4K@120Hz modes (VOP2 dclk limits)#1326

Open
jamautt wants to merge 2 commits intoJoshua-Riek:mainfrom
jamautt:fix/rk3588-4k120hz-vp-dclk
Open

RK3588: expose 4K@120Hz modes (VOP2 dclk limits)#1326
jamautt wants to merge 2 commits intoJoshua-Riek:mainfrom
jamautt:fix/rk3588-4k120hz-vp-dclk

Conversation

@jamautt
Copy link
Copy Markdown

@jamautt jamautt commented Dec 13, 2025

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_max limits (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 dclk limits must allow that mode.

Changes

  • scripts/build-kernel.sh: apply local patches from patches/kernel/series during kernel build
  • patches/kernel/0001: increase VOP2_MAX_DCLK_RATE to 1200000 kHz
  • patches/kernel/0002: increase RK3588 VP1/VP2 dclk_max to 1200000000 Hz

Test

  • Build: sudo env SUITE=noble ./scripts/build-kernel.sh
  • Install generated .deb packages
  • Verify drm_info lists 3840x2160@120 and the mode can be selected

Orange Pi 5 Max 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.
@github-actions
Copy link
Copy Markdown

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!

@github-actions github-actions bot added the stale Issues with a lack of recent activity label Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issues with a lack of recent activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant