drm/tegra: dc: Add powergate support
authorThierry Reding <treding@nvidia.com>
Mon, 7 Jul 2014 13:32:53 +0000 (15:32 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:11:59 +0000 (16:11 +0100)
commit9c0127004ff4e891e475d6dfb22ddcbaeca6ec9b
tree5e9f76155677e00934fe3b990d753d1a29549728
parentb298e98ef6ab9c4279b427db717a1624ef722751
drm/tegra: dc: Add powergate support

Both display controllers are in their own power partition. Currently the
driver relies on the assumption that these partitions are on (which is
the hardware default). However some bootloaders may disable them, so the
driver must make sure to turn them back on to avoid hangs.

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