]> 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)
commit59be6292b245e9ba3c212506fd2cbbd194d85c18
tree1ffd1ca7a1ff78b5c4922a6a18b175fc6e52e501
parentdafbe11903b91550816d374a8ab91f319b6e8cfa
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