[Intel-gfx] Haswell: Ensuring HDA codec pins refer to physical outputs

David Henningsson david.henningsson at canonical.com
Thu May 16 09:00:06 CEST 2013


Hi,

I want to take this problem up again, because it's important we get this 
right.

The HDA driver assumes that a codec pin widget node always refers to the 
same physical output. With Haswell, it seems like this is not guaranteed 
to be true. I would like to see this fixed on the graphics side. If not, 
I don't know how to work around it on the audio side.

The problems that occur on the audio side are:

  1) Some BIOSes set default pin config. E g, if the machine has a 
single HDMI out, it can set two of the codec pins to "not connected" and 
let the third remain "jack". As a result, the HDA driver will ignore the 
two codec pins and only enable the third. As such, HDMI audio will not 
work correctly, unless it's the third codec pin that is connected to the 
physical output.

  2) Saving and restoring mutes, volumes etc is done on a per-pin basis. 
E g, imagine that a user has a dual monitor setup and always wants audio 
output from the left side monitor, and keep the right side monitor 
silent. If it is not reliable which codec pin refers to which physical 
output, one day suddenly the sound might come out on the right side 
monitor instead.

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic



More information about the Intel-gfx mailing list