2012/5/6 Rafa? Mi?ecki <zajec5 at gmail.com>: > + ? ? ? ? ? ? ? WREG32(HDMI0_AUDIO_PACKET_CONTROL + offset, > + ? ? ? ? ? ? ? ? ? ? ?HDMI0_AUDIO_SAMPLE_SEND | /* send audio packets */ > + ? ? ? ? ? ? ? ? ? ? ?HDMI0_AUDIO_DELAY_EN(1) | /* default audio delay */ > + ? ? ? ? ? ? ? ? ? ? ?HDMI0_AUDIO_SEND_MAX_PACKETS | /* send NULL packets if > no audio is available */ > + ? ? ? ? ? ? ? ? ? ? ?HDMI0_AUDIO_PACKETS_PER_LINE(3) | /* should be > suffient for all audio modes and small enough for all hblanks */ > + ? ? ? ? ? ? ? ? ? ? ?HDMI0_60958_CS_UPDATE); /* allow 60958 channel status > fields to be updated */
Alex, I've problem with the above code. I've arrived to my parent's house and I noticed audio doesn't work anymore with Onkyo TX-SR605. The problem is caused by: HDMI0_AUDIO_SEND_MAX_PACKETS Setting this bit doesn't seem to be problem for my Denon 1912, so I didn't notice that earlier. Before the rewrite modesetting we weren't set that bit, so it's actually a regression for my case with Onkyo. Can you say something more about this bit? My only solution is to just don't set it, but maybe there's a better one? -- Rafa?
