Home
last modified time | relevance | path

Searched refs:dsi_ratio (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Dvlv_dsi_pll.c335 u32 dsi_ratio; in bxt_dsi_get_pclk() local
347 dsi_ratio = config->dsi_pll.ctrl & BXT_DSI_PLL_RATIO_MASK; in bxt_dsi_get_pclk()
349 dsi_clk = (dsi_ratio * BXT_REF_CLOCK_KHZ) / 2; in bxt_dsi_get_pclk()
479 u8 dsi_ratio, dsi_ratio_min, dsi_ratio_max; in bxt_dsi_pll_compute() local
490 dsi_ratio = DIV_ROUND_UP(dsi_clk * 2, BXT_REF_CLOCK_KHZ); in bxt_dsi_pll_compute()
500 if (dsi_ratio < dsi_ratio_min || dsi_ratio > dsi_ratio_max) { in bxt_dsi_pll_compute()
511 config->dsi_pll.ctrl = dsi_ratio | BXT_DSIA_16X_BY2 | BXT_DSIC_16X_BY2; in bxt_dsi_pll_compute()
516 if (IS_BROXTON(dev_priv) && dsi_ratio <= 50) in bxt_dsi_pll_compute()