On 9 June 2016 at 15:32, João Paulo Rechi Vita jprvita@gmail.com wrote:
On 9 June 2016 at 15:26, Deucher, Alexander Alexander.Deucher@amd.com wrote:
-----Original Message----- From: João Paulo Rechi Vita [mailto:jprvita@gmail.com] Sent: Thursday, June 09, 2016 3:14 PM To: Alex Deucher; maruthi.srinivas.b@gmail.com Cc: dri-devel@lists.freedesktop.org; alsa-devel@alsa-project.org; Deucher, Alexander; Bayyavarapu, Maruthi; João Paulo Rechi Vita; linux@endlessm.com Subject: AMD Carrizo HDMI audio
Hello Alex and Maruthi,
I'm trying to get HDMI audio working on a AMD CARRIZO laptop, which I believe need the ACP changes which got merged into Linux 4.6. But testing the v4.6 tag, amd_acp_hw_init() returns -ENODEV, because it succeeds the "if (acp_mode != ACP_MODE_I2S)" test in acp_hw.c. Does this mean this chip does not uses ACP, or is there anything else missing?
Your system does not use ACP. It uses HDA audio. You'll need to use the new DAL display code which is not yet upstream for HDMI or DP audio support. You can find dal support on my freedesktop tree. E.g., https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.7-wip-dal
Thanks for such a quick answer! So that means no audio over HDMI/DP without DAL, right? Isn't any legacy code that can take care of that? I'll give it a try on your branch and report back if I have any problems.
Still no sound with the branch you've pointed. Logs can be found here in case you're interested: https://gist.github.com/jprvita/7966532c7a4b67c74621c9374e20a418
-- João Paulo Rechi Vita http://about.me/jprvita