Rafał Miłecki ─ Zajec

Evergreen HDMI audio ready!

Few days ago I've managed to hack radeon to play audio over HDMI on my Evergreen card. At first I just forced radeon to use single hardcoded HDMI block I've discovered on my card.
Then I started looking for universal (general) solution. I was trying to do HDMI block mapping based on crtc offset, but it failed. Trying to use encoder type (which is really a transmitter in Radeon hardware) also didn't work out.

Finally, after analyzing dumps I've received from people, I found out the real solution. HDMI block mapping has to be based on DIG encoder.

I want to help the community for helping me with the dumps. Without them I wouldn't write really-working code so fast. Sometimes you don't have to known ANSI C and hardware programming to help in development :)

The patches will be released in minutes, I hope every Evergreen card will be supported now. They hopefully will hit Dave's tree soon and kernel 3.3 as the result.

P.S.
List of patches:
[PATCH] drm/radeon/kms: minor HDMI audio cleanups
[PATCH 1/3] drm/radeon/kms: one more HDMI cleanup (in disabling code)
[PATCH 2/3] drm/radeon/kms: support for audio on Evergreen
[PATCH V2 3/3] drm/radeon/kms: enable HDMI mode on Evergreen encoders
[PATCH V2] drm/radeon/kms: do not force DVI mode on DCE4 if audio is on

  1. ~Dragomir Ivanov ─ 08.12.2011

    Many thanks for your work :)

  2. ~Charon ─ 08.12.2011

    Thank you very much for your work on this!

  3. ~Frederik ─ 09.12.2011

    Well, thank you for the work! This will be useful for many people.

  4. ~martin ─ 14.12.2011

    thanks so much!

  5. ~cengizhan_3 ─ 14.03.2012

    Hi Rafal,
    is it possible to patch kernel-version 3.0.x to get hdmi audio working with radeon hd5750 (evergreen)?
    I guess, the average linux user would still have to wait too long before kernel-version 3.3 makes it's way to mainstream linux distros.
    Many thanks in advance for your great work!

  6. ~marp ─ 26.03.2012

    Hi

    First of all thank you!

    Now one think I want to report.
    Kernel 3.3.0
    HD 5870 + TV over HDMI = sound is working.
    HD 5870 + TV over HDMI + LCD over DVI = no sound at all


  7. ~Kendra ─ 13.03.2014

    Woah! I'm really loving the template/theme of this website. It's simple, yet effective. A lot of times it's very difficult to get that "perfect balance" between user friendliness and appearance. I must say you have done a fantastic job with this. Also, the blog loads very quick for me on Chrome. Superb Blog! regards from <a href=http://dubaiescortzone.com/>moroccan escorts dubai</a>

Nowy komentarz