diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-02 11:44:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-02 11:44:35 +1000 |
commit | 46c78a2223802b9105a87b7125fd4872ab69c4ca (patch) | |
tree | 522ace3dc84b245e3eb3a0b2615bfe351441f0a9 /linux-core/drm_crtc_helper.h | |
parent | 0dd000b578adec6ff101c957bce7dc9a32b76713 (diff) |
drm/modesetting: add best encoder finding for modesetting
This asks the driver to suggest the best encoder for the connector
during the pick crtcs stage.
Need to also do this during mode setting stages
Diffstat (limited to 'linux-core/drm_crtc_helper.h')
-rw-r--r-- | linux-core/drm_crtc_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_crtc_helper.h b/linux-core/drm_crtc_helper.h index 80cb4b49..3a3a4d4f 100644 --- a/linux-core/drm_crtc_helper.h +++ b/linux-core/drm_crtc_helper.h @@ -60,6 +60,7 @@ struct drm_connector_helper_funcs { int (*get_modes)(struct drm_connector *connector); int (*mode_valid)(struct drm_connector *connector, struct drm_display_mode *mode); + struct drm_encoder *(*best_encoder)(struct drm_connector *connector); }; extern void drm_helper_probe_single_connector_modes(struct drm_connector *connector, uint32_t maxX, uint32_t maxY); |