[PATCH v8 3/3] drm/rockchip: Add basic RK3588 HDMI output support
Maxime Ripard
mripard at kernel.org
Mon Sep 30 07:36:02 UTC 2024
Hi,
On Sun, Sep 29, 2024 at 01:36:49AM GMT, Cristian Ciocaltea wrote:
> +static void dw_hdmi_qp_rockchip_encoder_enable(struct drm_encoder *encoder)
> +{
> + struct rockchip_hdmi_qp *hdmi = to_rockchip_hdmi_qp(encoder);
> + struct drm_crtc *crtc = encoder->crtc;
> + int rate;
> +
> + /* Unconditionally switch to TMDS as FRL is not yet supported */
> + gpiod_set_value(hdmi->enable_gpio, 1);
> +
> + if (crtc && crtc->state) {
> + clk_set_rate(hdmi->ref_clk,
> + crtc->state->adjusted_mode.crtc_clock * 1000);
Sorry, I should have seen it in your previous version, but the rate here
should be the TMDS character rate, not the pixel clock, right?
Once fixed,
Reviewed-by: Maxime Ripard <mripard at kernel.org>
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240930/5b365692/attachment.sig>
More information about the dri-devel
mailing list