summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-07-04 09:34:24 +1000
committerDave Airlie <airlied@redhat.com>2008-07-04 09:34:24 +1000
commit142a309604b65c26ca95594943ee91dde8688697 (patch)
treef601ee065d7a81b701ba18e0461a5f6ef4122257 /libdrm/xf86drmMode.h
parent11b7a81c8a776aa7761ee03fe55d741a44ba5df7 (diff)
modesetting: rip out all of the generation code.
not needed, hotplug will work just as well hopefully.
Diffstat (limited to 'libdrm/xf86drmMode.h')
-rw-r--r--libdrm/xf86drmMode.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index 7afc71d7..3e2f5c0e 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -50,16 +50,8 @@
* buffer object interface. This object needs to be pinned.
*/
-/*
- * generation - these are to be read by userspace, and if it notices
- * while calling a get output or get crtc that the generation has changed
- * it should re-call the mode resource functions resync its view of the
- * outputs with current view.
- */
-
typedef struct _drmModeRes {
- uint32_t generation;
int count_fbs;
uint32_t *fbs;
@@ -99,7 +91,6 @@ typedef struct _drmModeProperty {
typedef struct _drmModeCrtc {
unsigned int crtc_id;
unsigned int buffer_id; /**< FB id to connect to 0 = disconnect */
- uint32_t generation;
uint32_t x, y; /**< Position on the frameuffer */
uint32_t width, height;
@@ -111,7 +102,6 @@ typedef struct _drmModeCrtc {
} drmModeCrtc, *drmModeCrtcPtr;
typedef struct _drmModeEncoder {
- uint32_t generation;
unsigned int encoder_id;
unsigned int encoder_type;
uint32_t crtc;
@@ -135,7 +125,6 @@ typedef enum {
} drmModeSubPixel;
typedef struct _drmModeConnector {
- uint32_t generation;
unsigned int connector_id;
unsigned int encoder; /**< Encoder currently connected to */
unsigned int connector_type;