diff options
| author | 2020-05-19 02:03:01 -0700 | |
|---|---|---|
| committer | 2020-06-16 13:46:18 +0200 | |
| commit | ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38 (patch) | |
| tree | 0385fe3732656a37bd36ad519abe1d41dae76835 /drivers/gpu/host1x/dev.c | |
| parent | gpu: host1x: Clean up debugfs in error handling path (diff) | |
| download | linux-dev-ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38.tar.xz linux-dev-ef4e417eb3ec7fe657928f10ac1d2154d8a5fb38.zip | |
drm/tegra: hub: Do not enable orphaned window group
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>
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
0 files changed, 0 insertions, 0 deletions
