summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorDavid Airlie <airlied@asimov.stargames.com.au>2007-04-10 16:25:31 +1000
committerDavid Airlie <airlied@asimov.stargames.com.au>2007-04-10 16:25:31 +1000
commit1e39dc43230ba1827eedc29ab422464281ec3e1b (patch)
tree9bfe37ff67dd9a0e1462b4d602d2d7e8db754b2c /shared-core/drm.h
parent40bd6dcd86d554ca426deccd4fbada693c4be8a6 (diff)
export output name to userspace
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 8329609f..f1afc049 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -891,7 +891,7 @@ typedef union drm_mm_init_arg{
/*
* Drm mode setting
*/
-
+#define DRM_OUTPUT_NAME_LEN 32
#define DRM_DISPLAY_MODE_LEN 32
struct drm_mode_modeinfo {
@@ -946,6 +946,7 @@ struct drm_mode_get_output {
unsigned int output; /**< Id */
unsigned int crtc; /**< Id of crtc */
+ unsigned char name[DRM_OUTPUT_NAME_LEN];
unsigned int connection;
unsigned int mm_width, mm_height; /**< HxW in millimeters */