[PATCH v4 10/12] phy: rockchip: samsung-hdptx: Add high color depth management
Maxime Ripard
mripard at kernel.org
Tue Mar 4 00:21:43 PST 2025
On Tue, Mar 04, 2025 at 03:44:09AM +0200, Cristian Ciocaltea wrote:
> @@ -1480,12 +1484,12 @@ static int rk_hdptx_phy_power_off(struct phy *phy)
> static int rk_hdptx_phy_verify_hdmi_config(struct rk_hdptx_phy *hdptx,
> struct phy_configure_opts_hdmi *hdmi)
> {
> - if (!hdmi->tmds_char_rate || hdmi->tmds_char_rate > HDMI20_MAX_RATE)
> - return -EINVAL;
> -
> u32 bit_rate = hdmi->tmds_char_rate / 100;
> int i;
>
> + if (!hdmi->tmds_char_rate || hdmi->tmds_char_rate > HDMI20_MAX_RATE)
> + return -EINVAL;
> +
> for (i = 0; i < ARRAY_SIZE(ropll_tmds_cfg); i++)
> if (bit_rate == ropll_tmds_cfg[i].bit_rate)
> break;
Why is that change needed?
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20250304/e3350d17/attachment-0001.sig>
More information about the Linux-rockchip
mailing list