]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Unify enabling the display controller
authorThierry Reding <treding@nvidia.com>
Mon, 8 Dec 2014 15:32:47 +0000 (16:32 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:58 +0000 (10:14 +0100)
commit54839e5e45b1c917b38192fedc75382e667f10ba
tree022b213d4e97a05efe37b1b5dcef1e0656a972e7
parent9f05b1bb596859ba5cc6bca9778bba862fcb2637
drm/tegra: dc: Unify enabling the display controller

Previously output drivers would enable continuous display mode and power
up the display controller at various points during the initialization.
This is suboptimal because it accesses display controller registers in
output drivers and duplicates a bit of code.

Move this code into the display controller driver and enable the display
controller as the final step of the ->mode_set_nofb() implementation.

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