On -10.01.-28163 20:59, Rafa? Mi?ecki wrote: > 2012/1/20<alexdeucher at gmail.com>: >> From: Alex Deucher<alexander.deucher at amd.com> >> >> We were previously just checking for audio. > So... Does every hdmi_monitor supports audio? Or should it rather be > if (drm_detect_monitor_audio(radeon_connector->edid)&& > drm_detect_hdmi_monitor(radeon_connector->edid)) > ? > > Sorry, I'm not familiar enough with EDID.
IIRC HDMI is more than just Audio, so it is possible for a TV to announce support for HDMI but not Audio. So setting the decoder moder should depend on whether or not a TV announces HDMI support, but actually sending audio should depend on the supported audio capabilities. Christian.