[PATCH v2 0/3] drm: rockchip: hdmi: enable higher resolutions than FHD

Robin Murphy robin.murphy at arm.com
Wed Sep 23 18:18:20 EDT 2020


On 2020-09-22 21:31, Vicente Bergas wrote:
> This patch series enable a QHD HDMI monitor to work at native resolution.
> Tested on a Sapphire board with RK3399 connected to a Q27q-10 monitor at 2560x1440 at 60

Indeed for RK3399 it also allows my 1920x1200 monitor (Dell U2415) to be 
driven at its native resolution with a 154MHz pixel clock. However, as 
predicted, it also breaks RK3328 for the same monitor - instead of 
rejecting the native mode and falling back to "standard" 1920x1080, it 
now tries to use it, which results in no signal and a spam of CRTC 
timeout warnings in dmesg :(

I'll try to test RK3288 as well soon - I tried hacking a specific entry 
for 154MHz into the tables a while ago, and while it worked perfectly on 
RK3399, RK3288 gave a fairly glitchy picture as if the clock signal was 
unstable or slightly out of spec. I'm interested to see if patch #1 
makes any difference there.

Thanks,
Robin.

> 
> Changes since v1:
> Use alternative clock rounding code proposed by Doug Anderson
> 
> Vicente Bergas (3):
>    drm: rockchip: hdmi: fix clock rounding code
>    drm: rockchip: hdmi: allow any clock that is within the range
>    drm: rockchip: hdmi: add higher pixel clock frequencies
> 
>   drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 8 +++++++-
>   drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 7 ++-----
>   2 files changed, 9 insertions(+), 6 deletions(-)
> 



More information about the Linux-rockchip mailing list