drm/tegra: dc: Wait for idle when disabled
authorThierry Reding <treding@nvidia.com>
Mon, 8 Dec 2014 15:03:53 +0000 (16:03 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:43 +0000 (10:14 +0100)
commit86df256f301fc5f215160d8c8e7093f605d40a14
treea2d230531a87ef10cd1f16d163b132bafbbc9a47
parent36904adf217ab0755cc2ef3fa186e01fd07a2aca
drm/tegra: dc: Wait for idle when disabled

When disabling the display controller, stop it and wait for it to become
idle. Doing so ensures that no further accesses to the framebuffer occur
and the buffers can be safely unmapped or freed.

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