linux/drivers/gpu/drm/tegra
Nicolin Chen 9371b7119d drm/tegra: hub: Do not enable orphaned window group
[ Upstream commit ef4e417eb3 ]

Though the unconditional enable/disable code is not a final solution,
we don't want to run into a NULL pointer situation when window group
doesn't link to its DC parent if the DC is disabled in Device Tree.

So this patch simply adds a check to make sure that window group has
a valid parent before running into tegra_windowgroup_enable/disable.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-16 08:17:21 +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
hdmi.c
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
vic.h