linux/drivers/gpu/drm/tegra
Diogo Ivo 660b299bed Revert "drm/tegra: dsi: Clear enable register if powered by bootloader"
Commit b6bcbce335 ("soc/tegra: pmc: Ensure power-domains are in a
known state") was introduced so that all power domains get initialized
to a known working state when booting and it does this by shutting them
down (including asserting resets and disabling clocks) before registering
each power domain with the genpd framework, leaving it to each driver to
later on power its needed domains.

This caused the Google Pixel C to hang when booting due to a workaround
in the DSI driver introduced in commit b22fd0b963 ("drm/tegra: dsi:
Clear enable register if powered by bootloader") meant to handle the case
where the bootloader enabled the DSI hardware module. The workaround relies
on reading a hardware register to determine the current status and after
b6bcbce335 that now happens in a powered down state thus leading to
the boot hang.

Fix this by reverting b22fd0b963 since currently we are guaranteed
that the hardware will be fully reset by the time we start enabling the
DSI module.

Fixes: b6bcbce335 ("soc/tegra: pmc: Ensure power-domains are in a known state")
Cc: stable@vger.kernel.org
Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20251103-diogo-smaug_ec_typec-v1-1-be656ccda391@tecnico.ulisboa.pt
2025-11-14 18:21:11 +01:00
..
Kconfig
Makefile
dc.c drm/tegra: dc: Fix reference leak in tegra_dc_couple() 2025-11-14 17:58:26 +01:00
dc.h
dp.c drm/dp: Pull drm_dp_link_power_up/down from Tegra to common drm_dp_helper 2025-04-02 17:41:27 +03:00
dp.h drm/dp: Pull drm_dp_link_power_up/down from Tegra to common drm_dp_helper 2025-04-02 17:41:27 +03:00
dpaux.c drm/tegra: dpaux: Use dev_err_probe() 2025-05-07 17:44:03 +02:00
dpaux.h
drm.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
drm.h drm/tegra: Pass along the format info from .fb_create() to drm_helper_mode_fill_fb_struct() 2025-07-16 20:11:34 +03:00
dsi.c Revert "drm/tegra: dsi: Clear enable register if powered by bootloader" 2025-11-14 18:21:11 +01:00
dsi.h
falcon.c drm/tegra: falcon: Pipeline firmware copy 2025-05-07 17:47:36 +02:00
falcon.h drm/tegra: falcon: Pipeline firmware copy 2025-05-07 17:47:36 +02:00
fb.c drm/tegra: Pass along the format info from .fb_create() to drm_helper_mode_fill_fb_struct() 2025-07-16 20:11:34 +03:00
fbdev.c drm/tegra: Pass along the format info from .fb_create() to drm_helper_mode_fill_fb_struct() 2025-07-16 20:11:34 +03:00
firewall.c
gem.c Revert "drm/tegra: Use dma_buf from GEM object instance" 2025-08-26 10:41:27 +02:00
gem.h
gr2d.c
gr2d.h
gr3d.c
gr3d.h
hda.c
hda.h
hdmi.c drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
hdmi.h
hub.c drm/tegra: Assign plane type before registration 2025-05-07 17:16:56 +02:00
hub.h drm/tegra: Assign plane type before registration 2025-05-07 17:16:56 +02:00
mipi-phy.c
mipi-phy.h
nvdec.c drm/tegra: nvdec: Fix dma_alloc_coherent error check 2025-07-04 11:15:07 +02:00
output.c
plane.c
plane.h
rgb.c drm/tegra: rgb: Fix the unbound reference count 2025-05-07 18:06:14 +02:00
riscv.c
riscv.h
sor.c drm/dp: Pull drm_dp_link_power_up/down from Tegra to common drm_dp_helper 2025-04-02 17:41:27 +03:00
sor.h
submit.c
submit.h
trace.c
trace.h
uapi.c drm/tegra: Add call to put_pid() 2025-11-14 18:17:51 +01:00
uapi.h
vic.c
vic.h