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)
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

Simple merge