aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-05-03 15:01:31 -0600
committerRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-16 22:51:56 -0300
commit1dfd6553195352c741a50a0a0b3b5d343547c758 (patch)
tree5288057a3b26c967eec80a0b8c9beed029038fb4 /drivers
parent3470803999902d75785fb634f4cf8036ab6c2127 (diff)
downloadlinux-linaro-android-1dfd6553195352c741a50a0a0b3b5d343547c758.tar.gz
DRM: OMAP: Add HDMI support
This is a port from Rob Clark <rob@ti.com> patch. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/omap/omap_gpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omap/omap_gpu.c b/drivers/gpu/drm/omap/omap_gpu.c
index e63e27af46b..b94a9e38365 100644
--- a/drivers/gpu/drm/omap/omap_gpu.c
+++ b/drivers/gpu/drm/omap/omap_gpu.c
@@ -72,6 +72,8 @@ static struct drm_mode_config_funcs omap_mode_config_funcs = {
static int get_connector_type(struct omap_dss_device *dssdev)
{
switch (dssdev->type) {
+ case OMAP_DISPLAY_TYPE_HDMI:
+ return DRM_MODE_CONNECTOR_HDMIA;
case OMAP_DISPLAY_TYPE_DPI:
if (!strcmp(dssdev->name, "dvi"))
return DRM_MODE_CONNECTOR_DVID;