mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
drm/rockchip: dw_hdmi: use crtc_clock as vpll clock rate
adjusted_mode.crtc_clock is the real pixel clock rate. Change-Id: Iac242b89e3144bc53c40170c2cec0c0913ef6ee0 Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -308,7 +308,9 @@ static void dw_hdmi_rockchip_encoder_enable(struct drm_encoder *encoder)
|
||||
|
||||
if (WARN_ON(!crtc || !crtc->state))
|
||||
return;
|
||||
clk_set_rate(hdmi->vpll_clk, crtc->state->adjusted_mode.clock * 1000);
|
||||
|
||||
clk_set_rate(hdmi->vpll_clk,
|
||||
crtc->state->adjusted_mode.crtc_clock * 1000);
|
||||
|
||||
if (hdmi->chip_data->lcdsel_grf_reg < 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user