round_rate = clk_round_rate(hdmi->pixclk, mode->clock * 1000); /* imx8mp's pixel clock generator (fsl-samsung-hdmi) cannot generate * all possible frequencies, so allow some tolerance to support more * modes. * Allow 0.5% difference allowed in various standards (VESA, CEA861) * 0.5% = 5/1000 tolerance (mode->clock is 1/1000)
*/ if (abs(round_rate - mode->clock * 1000) > mode->clock * 5) return MODE_CLOCK_RANGE;
/* We don't support double-clocked and Interlaced modes */ if ((mode->flags & DRM_MODE_FLAG_DBLCLK) ||
(mode->flags & DRM_MODE_FLAG_INTERLACE)) return MODE_BAD;
staticvoid im8mp_hdmi_phy_setup_hpd(struct dw_hdmi *hdmi, void *data)
{ /* * Just release PHY core from reset, all other power management is done * by the PHY driver.
*/
dw_hdmi_phy_gen1_reset(hdmi);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.