summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-12 19:17:18 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-12 19:17:18 +0100
commit9a4cb7eab4f74747cc777a3fef31dbb46e1191e5 (patch)
treed3294a18c6956f77194db5cc12d65c2c6abb91ed /shared-core
parent17789a409d3e83cad9f5cf06c2bb7123b78746b2 (diff)
mode: Minor reodering and renaming
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm_mode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h
index 6b1abd5b..601d2bd8 100644
--- a/shared-core/drm_mode.h
+++ b/shared-core/drm_mode.h
@@ -126,8 +126,8 @@ struct drm_mode_crtc {
#define DRM_MODE_ENCODER_TVDAC 4
struct drm_mode_get_encoder {
- uint32_t encoder_type;
uint32_t encoder_id;
+ uint32_t encoder_type;
uint32_t crtc_id; /**< Id of crtc */
@@ -216,13 +216,13 @@ struct drm_mode_get_blob {
};
struct drm_mode_fb_cmd {
- uint32_t buffer_id;
+ uint32_t fb_id;
uint32_t width, height;
uint32_t pitch;
uint32_t bpp;
- uint32_t handle;
uint32_t depth;
-
+ /* driver specific handle */
+ uint32_t handle;
};
struct drm_mode_mode_cmd {