summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmMode.h
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-05 12:04:07 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-05 12:04:07 +0200
commit7cbc5f6145046f3775e3b3ca2862bfb71831ec44 (patch)
treec2a08b63bf94dfcfeb995fcb43a393a5c3fcbc10 /libdrm/xf86drmMode.h
parentbe31a0fa73272b9c727668096ba652ea748a9735 (diff)
modesetting-101: Make the interface variable names a little more consistent + modeprint changes.
- All things are now called _id when they are id's. - modeprint now accepts driver name as first argument.
Diffstat (limited to 'libdrm/xf86drmMode.h')
-rw-r--r--libdrm/xf86drmMode.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index 3e2f5c0e..59612a94 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -92,7 +92,7 @@ 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 */
+ uint32_t x, y; /**< Position on the framebuffer */
uint32_t width, height;
int mode_valid;
struct drm_mode_modeinfo mode;
@@ -104,9 +104,9 @@ typedef struct _drmModeCrtc {
typedef struct _drmModeEncoder {
unsigned int encoder_id;
unsigned int encoder_type;
- uint32_t crtc;
- uint32_t crtcs;
- uint32_t clones;
+ unsigned int crtc_id;
+ uint32_t possible_crtcs;
+ uint32_t possible_clones;
} drmModeEncoder, *drmModeEncoderPtr;
typedef enum {
@@ -126,7 +126,7 @@ typedef enum {
typedef struct _drmModeConnector {
unsigned int connector_id;
- unsigned int encoder; /**< Encoder currently connected to */
+ unsigned int encoder_id; /**< Encoder currently connected to */
unsigned int connector_type;
unsigned int connector_type_id;
drmModeConnection connection;