aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hellstrom2014-11-15 00:11:10 -0600
committersrinivas pulukuru2015-01-30 16:04:01 -0600
commitc9ca82b80acfa19ad63580ec6a153be4ffeec67b (patch)
treea26fa2cdbc7d35c6a3dcb3b8c7d47b886b643716
parentc0eab7399e0e903d23ef1130e4094f7cabbd5b67 (diff)
downloadlibdrm-c9ca82b80acfa19ad63580ec6a153be4ffeec67b.tar.gz
libdrm-c9ca82b80acfa19ad63580ec6a153be4ffeec67b.tar.xz
libdrm-c9ca82b80acfa19ad63580ec6a153be4ffeec67b.zip
libdrm/mode: Update the encoder and connector defines
Update the defines to match the kernel drm_mode.h Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
-rw-r--r--xf86drmMode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xf86drmMode.h b/xf86drmMode.h
index 7fc52b6a..9bcb1d10 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -128,6 +128,8 @@ extern "C" {
128#define DRM_MODE_ENCODER_TMDS 2 128#define DRM_MODE_ENCODER_TMDS 2
129#define DRM_MODE_ENCODER_LVDS 3 129#define DRM_MODE_ENCODER_LVDS 3
130#define DRM_MODE_ENCODER_TVDAC 4 130#define DRM_MODE_ENCODER_TVDAC 4
131#define DRM_MODE_ENCODER_VIRTUAL 5
132#define DRM_MODE_ENCODER_DSI 6
131 133
132#define DRM_MODE_SUBCONNECTOR_Automatic 0 134#define DRM_MODE_SUBCONNECTOR_Automatic 0
133#define DRM_MODE_SUBCONNECTOR_Unknown 0 135#define DRM_MODE_SUBCONNECTOR_Unknown 0
@@ -136,6 +138,7 @@ extern "C" {
136#define DRM_MODE_SUBCONNECTOR_Composite 5 138#define DRM_MODE_SUBCONNECTOR_Composite 5
137#define DRM_MODE_SUBCONNECTOR_SVIDEO 6 139#define DRM_MODE_SUBCONNECTOR_SVIDEO 6
138#define DRM_MODE_SUBCONNECTOR_Component 8 140#define DRM_MODE_SUBCONNECTOR_Component 8
141#define DRM_MODE_SUBCONNECTOR_SCART 9
139 142
140#define DRM_MODE_CONNECTOR_Unknown 0 143#define DRM_MODE_CONNECTOR_Unknown 0
141#define DRM_MODE_CONNECTOR_VGA 1 144#define DRM_MODE_CONNECTOR_VGA 1
@@ -152,6 +155,8 @@ extern "C" {
152#define DRM_MODE_CONNECTOR_HDMIB 12 155#define DRM_MODE_CONNECTOR_HDMIB 12
153#define DRM_MODE_CONNECTOR_TV 13 156#define DRM_MODE_CONNECTOR_TV 13
154#define DRM_MODE_CONNECTOR_eDP 14 157#define DRM_MODE_CONNECTOR_eDP 14
158#define DRM_MODE_CONNECTOR_VIRTUAL 15
159#define DRM_MODE_CONNECTOR_DSI 16
155 160
156#define DRM_MODE_PROP_PENDING (1<<0) 161#define DRM_MODE_PROP_PENDING (1<<0)
157#define DRM_MODE_PROP_RANGE (1<<1) 162#define DRM_MODE_PROP_RANGE (1<<1)