summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc_helper.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_helper.h
parent6b970f193b69a912183dcbf85b9dc51ec99aeefe (diff)
drm: add encoder / get encoder to the modesetting resources interface
Diffstat (limited to 'linux-core/drm_crtc_helper.h')
-rw-r--r--linux-core/drm_crtc_helper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-core/drm_crtc_helper.h b/linux-core/drm_crtc_helper.h
index f56b97c6..9e16861d 100644
--- a/linux-core/drm_crtc_helper.h
+++ b/linux-core/drm_crtc_helper.h
@@ -47,6 +47,15 @@ struct drm_output_helper_funcs {
struct drm_display_mode *adjusted_mode);
};
+struct drm_encoder_helper_funcs {
+ void (*prepare)(struct drm_output *output);
+ void (*commit)(struct drm_output *output);
+ void (*mode_set)(struct drm_output *output,
+ struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode);
+};
+
+
extern int drm_helper_hotplug_stage_two(struct drm_device *dev, struct drm_output *output,
bool connected);
extern bool drm_helper_initial_config(struct drm_device *dev, bool can_grow);