summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-02 10:05:54 +1000
committerDave Airlie <airlied@redhat.com>2008-06-02 10:05:54 +1000
commite439e74776b215d70d8e34e8aa9cea22179dcbc6 (patch)
treee7fdd7de395ae3623150e4b63000aa280777bb14 /shared-core
parent5d47185eb69d73dd7e6ee3ddde4d0c7642c2d5b7 (diff)
drm/modesetting: another re-org of some internals.
Move dpms into the helper functions. Move crtc into the encoder. Move disable unused functions into the helper.
Diffstat (limited to 'shared-core')
-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 1fcbf144..7e94fb82 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1058,6 +1058,7 @@ struct drm_mode_get_encoder {
uint32_t encoder_type;
uint32_t encoder_id;
+ unsigned int crtc; /**< Id of crtc */
uint32_t crtcs;
uint32_t clones;
};
@@ -1079,8 +1080,8 @@ struct drm_mode_get_connector {
int count_props;
int count_encoders;
+ unsigned int encoder; /**< Current Encoder */
unsigned int connector; /**< Id */
- unsigned int crtc; /**< Id of crtc */
unsigned int connector_type;
unsigned int connector_type_id;