diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-30 13:57:27 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-30 13:57:27 +1000 |
commit | 6aeef92c0cad784a5019ea90d97ab81f4e51fdd9 (patch) | |
tree | 51b7cb6c9e5d049a28242d78d11ac774fb85b3ed /linux-core/drm_crtc.h | |
parent | 1c4b25a2b1c31df190eab173128702d1b5871906 (diff) |
drm: attach an encoder.
Time to do some renaming on the connectors I think
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r-- | linux-core/drm_crtc.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h index 04e0d033..03c336e2 100644 --- a/linux-core/drm_crtc.h +++ b/linux-core/drm_crtc.h @@ -556,12 +556,19 @@ extern void drm_crtc_init(struct drm_device *dev, const struct drm_crtc_funcs *funcs); extern void drm_crtc_cleanup(struct drm_crtc *crtc); -void drm_output_init(struct drm_device *dev, - struct drm_output *output, - const struct drm_output_funcs *funcs, - int output_type); +extern void drm_output_init(struct drm_device *dev, + struct drm_output *output, + const struct drm_output_funcs *funcs, + int output_type); -void drm_output_cleanup(struct drm_output *output); +extern void drm_output_cleanup(struct drm_output *output); + +extern void drm_encoder_init(struct drm_device *dev, + struct drm_encoder *encoder, + const struct drm_encoder_funcs *funcs, + int encoder_type); + +extern void drm_encoder_cleanup(struct drm_encoder *encoder); extern char *drm_get_output_name(struct drm_output *output); extern char *drm_get_dpms_name(int val); |