diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-30 12:03:36 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-30 12:03:36 +1000 |
commit | 8ae82f3a2feb8b8fe56214c4c9e806bf1f87cbf8 (patch) | |
tree | 94523ecfc857862a2a31e65ee716051d702aba23 /linux-core/drm_crtc_helper.h | |
parent | 6b970f193b69a912183dcbf85b9dc51ec99aeefe (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.h | 9 |
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); |