]> git.baikalelectronics.ru Git - 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)
commit178cde28139e53f76424ca7265af9f3f4016520c
tree73501827bd970d2a93496ca2da52bb8e015f610a
parented831921e816a050d741e00710f13395d7f0ec83
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