]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dsi: Refactor in preparation for command mode
authorThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 13:44:27 +0000 (14:44 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:12:20 +0000 (16:12 +0100)
commit1a766430c73ade75914b96ef1bc971dc26a9f4bd
treebce4ba10b92f7973edaef0ce4944ae78f65e6413
parent79341395ff1c76221e1662fc8dfbc360896bc442
drm/tegra: dsi: Refactor in preparation for command mode

For command mode panels, the DSI controller needs to be enabled and
configured so that panel drivers can send commands prior to the video
stream being enabled.

Move code from the monolithic output enable/disable functions into
smaller, reusable units to allow more fine-grained control over the
controller state.

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