[PATCH v6 16/22] drm: bridge: dw_hdmi: Use display_info is_hdmi and has_audio

Jani Nikula jani.nikula at linux.intel.com
Mon May 18 02:02:03 PDT 2026


On Sat, 16 May 2026, Jonas Karlman <jonas at kwiboo.se> wrote:
> -	/*
> -	 * FIXME: This should use connector->display_info.is_hdmi and
> -	 * connector->display_info.has_audio from a path that has read the EDID
> -	 * and called drm_edid_connector_update().
> -	 */
> -	edid = drm_edid_raw(drm_edid);
> -
> -	dev_dbg(hdmi->dev, "got edid: width[%d] x height[%d]\n",
> -		edid->width_cm, edid->height_cm);
> -
> -	hdmi->sink_is_hdmi = drm_detect_hdmi_monitor(edid);
> -	hdmi->sink_has_audio = drm_detect_monitor_audio(edid);

Yay! \o/


>  
>  	return drm_edid;
>  }

-- 
Jani Nikula, Intel



More information about the linux-amlogic mailing list