aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/output.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-09-03 02:45:46 -0400
committerThierry Reding <treding@nvidia.com>2013-12-20 09:56:04 -0500
commitdec727399a4b36bec87b7b4d4c1b20025e69758a (patch)
tree23068d248a62dd94e0a71e35c2c3cce595a370ab /drivers/gpu/drm/tegra/output.c
parentb5190022f77a41465c2202f621a5fa07c9aabb7b (diff)
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.c5
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)
284 encoder = DRM_MODE_ENCODER_TMDS; 284 encoder = DRM_MODE_ENCODER_TMDS;
285 break; 285 break;
286 286
287 case TEGRA_OUTPUT_DSI:
288 connector = DRM_MODE_CONNECTOR_DSI;
289 encoder = DRM_MODE_ENCODER_DSI;
290 break;
291
287 default: 292 default:
288 connector = DRM_MODE_CONNECTOR_Unknown; 293 connector = DRM_MODE_CONNECTOR_Unknown;
289 encoder = DRM_MODE_ENCODER_NONE; 294 encoder = DRM_MODE_ENCODER_NONE;