]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Disable plane if it is invisible
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:31 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:20:30 +0000 (14:20 +0200)
commit9edd08aaeb5a585de9a1beecad16de91ec8a150f
tree0e4c841d3ec37e2796bfcfa80b4aa232e77b5828
parent95008c6f96ff6fddaf6f1b91fb5817621fef4fbd
drm/tegra: dc: Disable plane if it is invisible

On Tegra20 if plane has width or height equal to 0, it will be infinitely
wide or tall. Let's disable the plane if it is invisible on atomic state
committing to fix the issue. The Rockchip DRM driver does the same.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c