aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-02 11:12:28 +1000
committerDave Airlie <airlied@redhat.com>2008-06-02 11:12:28 +1000
commit0dd000b578adec6ff101c957bce7dc9a32b76713 (patch)
treebda17b4db262f90c65a99f0a203fc892461cf880 /linux-core/drm_crtc.h
parentdba95ec34315d62934ff0e493e085aa6a03cde7c (diff)
drm/modesetting: move some connector functions to helper.
Migrated the output mode collection into the helper.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 14aa5038..6dbc88a4 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -380,13 +380,10 @@ struct drm_connector_funcs {
void (*save)(struct drm_connector *connector);
void (*restore)(struct drm_connector *connector);
enum drm_connector_status (*detect)(struct drm_connector *connector);
- int (*get_modes)(struct drm_connector *connector);
+ void (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
bool (*set_property)(struct drm_connector *connector, struct drm_property *property,
uint64_t val);
void (*destroy)(struct drm_connector *connector);
- int (*mode_valid)(struct drm_connector *connector,
- struct drm_display_mode *mode);
-
};
struct drm_encoder_funcs {