]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Stop CRTC at CRTC disable time
authorThierry Reding <treding@nvidia.com>
Fri, 21 Nov 2014 16:35:54 +0000 (17:35 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:43 +0000 (10:14 +0100)
commitdd0c50a577ce427848f09987ab6977a055c97739
tree1ffd1ca7a1ff78b5c4922a6a18b175fc6e52e501
parent924c457358c174e67185ddb5b502c833bcbd902c
drm/tegra: Stop CRTC at CRTC disable time

Previously output drivers would all stop the display controller in their
disable path. However with the transition to atomic modesetting the
display controller needs to be kept running until all planes have been
disabled so that software can properly determine (using VBLANK counts)
when it is safe to remove the framebuffers associated with the planes.

Moving this code into the display controller's disable path also gets
rid of the duplication of this into all output drivers.

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