diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-04 11:14:07 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-08 10:13:50 -0500 |
commit | 129b782008a537a0d222d9e23b39d78a323ed595 (patch) | |
tree | ef7b8760b01bdb358dc9bbf77ca276a7479ff551 /include/drm | |
parent | 813b0f3e00d402279718403aeb621c965f97180e (diff) |
drm: Move encoder->save/restore into nouveau
Nouveau is the only user, and atomic drivers should do state
save/restoring differently. So move it into noveau.
Saves me typing some kerneldoc, too ;-)
v2: Move misplaced hunk into earlier nouveau patch.
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449245647-1315-1-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_modeset_helper_vtables.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h index 875809158fc4..56dadfe7a181 100644 --- a/include/drm/drm_modeset_helper_vtables.h +++ b/include/drm/drm_modeset_helper_vtables.h | |||
@@ -131,8 +131,6 @@ static inline void drm_crtc_helper_add(struct drm_crtc *crtc, | |||
131 | /** | 131 | /** |
132 | * struct drm_encoder_helper_funcs - helper operations for encoders | 132 | * struct drm_encoder_helper_funcs - helper operations for encoders |
133 | * @dpms: set power state | 133 | * @dpms: set power state |
134 | * @save: save connector state | ||
135 | * @restore: restore connector state | ||
136 | * @mode_fixup: try to fixup proposed mode for this connector | 134 | * @mode_fixup: try to fixup proposed mode for this connector |
137 | * @prepare: part of the disable sequence, called before the CRTC modeset | 135 | * @prepare: part of the disable sequence, called before the CRTC modeset |
138 | * @commit: called after the CRTC modeset | 136 | * @commit: called after the CRTC modeset |
@@ -154,8 +152,6 @@ static inline void drm_crtc_helper_add(struct drm_crtc *crtc, | |||
154 | */ | 152 | */ |
155 | struct drm_encoder_helper_funcs { | 153 | struct drm_encoder_helper_funcs { |
156 | void (*dpms)(struct drm_encoder *encoder, int mode); | 154 | void (*dpms)(struct drm_encoder *encoder, int mode); |
157 | void (*save)(struct drm_encoder *encoder); | ||
158 | void (*restore)(struct drm_encoder *encoder); | ||
159 | 155 | ||
160 | bool (*mode_fixup)(struct drm_encoder *encoder, | 156 | bool (*mode_fixup)(struct drm_encoder *encoder, |
161 | const struct drm_display_mode *mode, | 157 | const struct drm_display_mode *mode, |