summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-30 13:57:27 +1000
committerDave Airlie <airlied@redhat.com>2008-05-30 13:57:27 +1000
commit6aeef92c0cad784a5019ea90d97ab81f4e51fdd9 (patch)
tree51b7cb6c9e5d049a28242d78d11ac774fb85b3ed /shared-core
parent1c4b25a2b1c31df190eab173128702d1b5871906 (diff)
drm: attach an encoder.
Time to do some renaming on the connectors I think
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 6cb68685..0005bb0b 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1062,8 +1062,14 @@ struct drm_mode_get_encoder {
uint32_t clones;
};
+#define DRM_MODE_ENCODER_NONE 0
+#define DRM_MODE_ENCODER_DAC 1
+#define DRM_MODE_ENCODER_TMDS 2
+#define DRM_MODE_ENCODER_LVDS 3
+#define DRM_MODE_ENCODER_TVDAC 4
+
#define DRM_MODE_OUTPUT_NONE 0
-#define DRM_MODE_OUTPUT_DAC 1
+#define DRM_MODE_OUTPUT_VGA 1
#define DRM_MODE_OUTPUT_TMDS 2
#define DRM_MODE_OUTPUT_LVDS 3
#define DRM_MODE_OUTPUT_TVDAC 4