]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/tegra: dc: Don't clean up unused display controller
authorThierry Reding <treding@nvidia.com>
Thu, 29 Nov 2018 16:24:35 +0000 (17:24 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 29 Nov 2018 16:25:32 +0000 (17:25 +0100)
commite75d04771ad60cb65005f35a7eb65caa6e7c266c
tree73501827bd970d2a93496ca2da52bb8e015f610a
parent0cffbde2e318cc1214486a84be0f31045b1fa493
drm/tegra: dc: Don't clean up unused display controller

Display controllers that don't own any windows and which therefore
aren't currently being assigned a primary plane are not registered
as a CRTC with the DRM framework. They request neither a syncpoint
nor an interrupt because they don't use them, so avoid cleaning up
those resources.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c