Thanks. Honestly don't know drm has this function... Mark On 12/18/2012 01:59 AM, Lucas Stach wrote: > Check if sink is HDMI capable when enabling an output. This disables > HDMI audio/infoframes if we are talking to a plain DVI sink. All things > except this check are already in place. > > Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> > --- > drivers/gpu/drm/tegra/hdmi.c | 3 +++ > 1 Datei geändert, 3 Zeilen hinzugefügt(+) > > diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c > index ab40164..32ea7d4 100644 > --- a/drivers/gpu/drm/tegra/hdmi.c > +++ b/drivers/gpu/drm/tegra/hdmi.c > @@ -673,6 +673,9 @@ static int tegra_output_hdmi_enable(struct tegra_output *output) > usleep_range(1000, 2000); > tegra_periph_reset_deassert(hdmi->clk); > > + /* if the connected sink is not HDMI capable fall back to plain DVI */ > + hdmi->dvi = !drm_detect_hdmi_monitor((struct edid *)output->edid); > + > tegra_dc_writel(dc, VSYNC_H_POSITION(1), > DC_DISP_DISP_TIMING_OPTIONS); > tegra_dc_writel(dc, DITHER_CONTROL_DISABLE | BASE_COLOR_SIZE888, > -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html