linux_dsm_epyc7002/drivers/gpu/drm/tegra
Thierry Reding 83f8bf4b83 drm/tegra: hdmi: Setup audio only if configured
The audio configuration is only valid if the HDMI codec has been
properly set up. Do not attempt to set up audio before that happens
because it causes a division by zero.

Note that this is only problematic on Tegra20 and Tegra30. Later chips
implement the division instructions which return zero when dividing by
zero and don't throw an exception.

Fixes: db5adf4d6d ("drm/tegra: hdmi: Fix audio to work with any pixel clock rate")
Reported-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2019-04-17 09:28:43 +02:00
..
dc.c
dc.h
dpaux.c
dpaux.h
drm.c
drm.h
dsi.c
dsi.h
falcon.c
falcon.h
fb.c
gem.c
gem.h
gr2d.c
gr2d.h
gr3d.c
gr3d.h
hda.c
hda.h
hdmi.c drm/tegra: hdmi: Setup audio only if configured 2019-04-17 09:28:43 +02:00
hdmi.h
hub.c
hub.h
Kconfig
Makefile
mipi-phy.c
mipi-phy.h
output.c
plane.c
plane.h
rgb.c
sor.c
sor.h
trace.c
trace.h
vic.c drm/tegra: vic: Fix implicit function declaration warning 2019-03-22 14:08:55 +01:00
vic.h