- Disable audio by writing 0x00 to TX_AUDIO_CONTROL register. The disable bit also flushes the buffers in DisplayPort source and sets the MUTE bit in VB-ID. AMD recommends following this step when there is a change in video/audio parameters.
- Write Audio Info Frame (Based on your requirement. This might be optional for some systems.). Audio Info Frame consists of 8 writes. The order of write transactions are important and follow the steps mentioned in the DisplayPort Audio Registers, offset 0x308 ().
- Write Channel Count to TX_AUDIO_CHANNELS register (the value is actual count -1).
- If the system is using synchronous clocking then write MAUD and NAUD values to TX_AUDIO_MAUD and TX_AUDIO_NAUD registers, respectively.
- Enable audio by writing 0x01 to TX_AUDIO_CONTROL register.