summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-30 12:03:36 +1000
committerDave Airlie <airlied@redhat.com>2008-05-30 12:03:36 +1000
commit8ae82f3a2feb8b8fe56214c4c9e806bf1f87cbf8 (patch)
tree94523ecfc857862a2a31e65ee716051d702aba23 /linux-core/drm_crtc.h
parent6b970f193b69a912183dcbf85b9dc51ec99aeefe (diff)
drm: add encoder / get encoder to the modesetting resources interface
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 7bb779ef..adaa49bd 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -366,7 +366,6 @@ struct drm_crtc {
/**
* drm_output_funcs - control outputs on a given device
- * @init: setup this output
* @dpms: set power state (see drm_crtc_funcs above)
* @save: save output state
* @restore: restore output state
@@ -417,6 +416,7 @@ struct drm_encoder {
uint32_t possible_clones;
const struct drm_encoder_funcs *funcs;
+ void *helper_private;
};
/**
@@ -663,5 +663,7 @@ extern int drm_mode_hotplug_ioctl(struct drm_device *dev,
void *data, struct drm_file *file_priv);
extern int drm_mode_replacefb(struct drm_device *dev,
void *data, struct drm_file *file_priv);
+int drm_mode_getencoder(struct drm_device *dev,
+ void *data, struct drm_file *file_priv);
#endif /* __DRM_CRTC_H__ */