summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-15 18:31:50 +1100
committerDave Airlie <airlied@linux.ie>2007-11-15 18:31:50 +1100
commitf32688d3d011d631c18d584603d684edd9b9b512 (patch)
treec5f9b151a16ca97e4253500595487ef4dcd60074 /libdrm/xf86drmMode.h
parent1e8984a3674c89c3b5ef9b6d3747fb75e10774b3 (diff)
libdrm: add crtc/output ids to userspace interface
Diffstat (limited to 'libdrm/xf86drmMode.h')
-rw-r--r--libdrm/xf86drmMode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index b25a6610..be9d84af 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -71,7 +71,7 @@ typedef struct _drmModeRes {
typedef struct drm_mode_fb_cmd drmModeFB, *drmModeFBPtr;
typedef struct _drmModeCrtc {
-
+ unsigned int crtc_id;
unsigned int buffer_id; /**< FB id to connect to 0 = disconnect*/
uint32_t x, y; /**< Position on the frameuffer */
@@ -104,6 +104,7 @@ typedef enum {
} drmModeSubPixel;
typedef struct _drmModeOutput {
+ unsigned int output_id;
unsigned int crtc; /**< Crtc currently connected to */
unsigned char name[DRM_OUTPUT_NAME_LEN];