diff options
author | Thierry Reding <treding@nvidia.com> | 2013-09-03 08:45:46 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-20 15:56:04 +0100 |
commit | dec727399a4b36bec87b7b4d4c1b20025e69758a (patch) | |
tree | 23068d248a62dd94e0a71e35c2c3cce595a370ab /drivers/gpu/drm/tegra/output.c | |
parent | drm/tegra: Disable outputs for power-saving (diff) | |
download | linux-dec727399a4b36bec87b7b4d4c1b20025e69758a.tar.xz linux-dec727399a4b36bec87b7b4d4c1b20025e69758a.zip |
drm/tegra: Add DSI support
This commit adds support for both DSI outputs found on Tegra. Only very
minimal functionality is implemented, so advanced features like ganged
mode won't work.
Due to the lack of other test hardware, some sections of the driver are
hardcoded to work with Dalmore.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/output.c')
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index 581dc5d37bed..f1b5030f55e3 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c @@ -284,6 +284,11 @@ int tegra_output_init(struct drm_device *drm, struct tegra_output *output) encoder = DRM_MODE_ENCODER_TMDS; break; + case TEGRA_OUTPUT_DSI: + connector = DRM_MODE_CONNECTOR_DSI; + encoder = DRM_MODE_ENCODER_DSI; + break; + default: connector = DRM_MODE_CONNECTOR_Unknown; encoder = DRM_MODE_ENCODER_NONE; |