]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Enable audio over HDMI
authorThierry Reding <treding@nvidia.com>
Thu, 15 Jan 2015 12:43:18 +0000 (13:43 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Jul 2016 09:34:31 +0000 (11:34 +0200)
commit791c61037cb1b53dfd606316b937c4cf9a93f837
tree1c2540130dd2757f7ba9c6eca2dc6617e57c0dfc
parent294bc65e5189700b2c83467a42083f66e59bd360
drm/tegra: hdmi: Enable audio over HDMI

In order to use the HDA codec to forward audio data to the HDMI codec it
needs the ELD that is parsed from the monitor's EDID.

Also implement an interoperability mechanism between the HDA controller
and the HDMI codec. This uses vendor-defined scratch registers to pass
data from the HDMI codec driver to the HDMI driver (that implements the
receiving end of the HDMI codec). A custom format is used to pass audio
sample rate and channel count to the HDMI driver.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c
drivers/gpu/drm/tegra/hdmi.h
drivers/gpu/drm/tegra/output.c