Skip to content

Commit 28f0ae4

Browse files
Kwiboommind
authored andcommitted
drm/rockchip: dw_hdmi: Enable 4K@60Hz mode on RK3399 and RK356x
Use a maximum TMDS clock rate limit of 594MHz to enable use of HDMI2.0 modes, e.g. 4K@60Hz, on RK3399 and RK3568. Signed-off-by: Jonas Karlman <[email protected]> Tested-by: Diederik de Haas <[email protected]> # Quartz64 Model B Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7595c7e commit 28f0ae4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ static struct rockchip_hdmi_chip_data rk3399_chip_data = {
481481
.lcdsel_grf_reg = RK3399_GRF_SOC_CON20,
482482
.lcdsel_big = HIWORD_UPDATE(0, RK3399_HDMI_LCDC_SEL),
483483
.lcdsel_lit = HIWORD_UPDATE(RK3399_HDMI_LCDC_SEL, RK3399_HDMI_LCDC_SEL),
484-
.max_tmds_clock = 340000,
484+
.max_tmds_clock = 594000,
485485
};
486486

487487
static const struct dw_hdmi_plat_data rk3399_hdmi_drv_data = {
@@ -495,7 +495,7 @@ static const struct dw_hdmi_plat_data rk3399_hdmi_drv_data = {
495495

496496
static struct rockchip_hdmi_chip_data rk3568_chip_data = {
497497
.lcdsel_grf_reg = -1,
498-
.max_tmds_clock = 340000,
498+
.max_tmds_clock = 594000,
499499
};
500500

501501
static const struct dw_hdmi_plat_data rk3568_hdmi_drv_data = {

0 commit comments

Comments
 (0)