Comment 8 for bug 1183125

Revision history for this message
Mengdong Lin (mengdong-lin) wrote :

It can be ensured that HDA codec pins refer to physical outputs.

Intel display audio HW owner confirmed that there are fixed mappings between audio codec pins and GPU ports, like this:
1st Pin (NID 5) = Port B
2nd Pin (NID 6) = Port C
3rd Pin (NID 7) = Port D
No matter Gfx driver connects what transcoder to a port, the above pin/port mapping won't change.

And since the connections between port and physical output are fixed for a specific machine. Thus HD-A codec pins always refer to fixed physical outputs of a machine.

So BIOS should always program a pin's 'Configuration Default' according to the actual usage of its mapped port.
Eg. If a port is physically connected to a DP/HDMI output on a machine board, the pin's "Port Connectivity" should be 00b (Jack).