linux/drivers/gpu/drm/tegra
Thierry Reding d780537f9b drm/tegra: sor: Fix hang on Tegra124 eDP
The SOR0 found on Tegra124 and Tegra210 only supports eDP and LVDS and
therefore has a slightly different clock tree than the SOR1 which does
not support eDP, but HDMI and DP instead.

Commit e1335e2f0c ("drm/tegra: sor: Reimplement pad clock") breaks
setups with eDP because the sor->clk_out clock is uninitialized and
therefore setting the parent clock (either the safe clock or either of
the display PLLs) fails, which can cause hangs later on since there is
no clock driving the module.

Fix this by falling back to the module clock for sor->clk_out on those
setups. This guarantees that the module will always be clocked by an
enabled clock and hence prevents those hangs.

Fixes: e1335e2f0c ("drm/tegra: sor: Reimplement pad clock")
Reported-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-01-10 13:04:58 +01:00
..
dc.c drm/tegra: dc: Perform a complete reset sequence 2017-10-20 14:19:54 +02:00
dc.h drm/tegra: dc: Move some declarations to dc.h 2017-10-20 14:19:54 +02:00
dpaux.c
dpaux.h
drm.c main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
drm.h drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
dsi.c
dsi.h
falcon.c
falcon.h
fb.c
gem.c
gem.h
gr2d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr2d.h
gr3d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr3d.h
hdmi.c drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
hdmi.h
Kconfig drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mipi-phy.c
mipi-phy.h
output.c drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
rgb.c
sor.c drm/tegra: sor: Fix hang on Tegra124 eDP 2018-01-10 13:04:58 +01:00
sor.h
trace.c
trace.h
vic.c drm/tegra: vic: Use of_device_get_match_data() 2017-10-20 14:19:54 +02:00
vic.h