On Wed, Oct 07, 2015 at 09:48:42AM +0200, Arnaud Pouliquen wrote:
Should ALSA bypasses or not the DRM core/API to access to DRM HDMI connector?
You don't need direct access to the connector - and actually, having direct access to the connector is potentially racy. So no.
Concerning bridge usage, I tried to found a link to address DRM driver trough DRM API. Bridge seemed a good candidate. Perhaps the DRM encoder API could be an other option to study...
Different parts of DRM don't help you with this: whether it's a connector, encoder or bridge, you still need some way to get information in and out from the HDMI video component to both HDMI audio and HDMI CEC components.
Please start seeing that the problem you have in front of you covers more than _just_ audio. If you design it just for audio, then we'll probably have to redesign it when addressing CEC support.