diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_dac.c | 7 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_sor.c | 1 |
2 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_dac.c b/drivers/gpu/drm/nouveau/nv50_dac.c index 808f3ec8f827..a0f2bebf49e3 100644 --- a/drivers/gpu/drm/nouveau/nv50_dac.c +++ b/drivers/gpu/drm/nouveau/nv50_dac.c | |||
@@ -200,11 +200,6 @@ nv50_dac_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, | |||
200 | } | 200 | } |
201 | 201 | ||
202 | static void | 202 | static void |
203 | nv50_dac_prepare(struct drm_encoder *encoder) | ||
204 | { | ||
205 | } | ||
206 | |||
207 | static void | ||
208 | nv50_dac_commit(struct drm_encoder *encoder) | 203 | nv50_dac_commit(struct drm_encoder *encoder) |
209 | { | 204 | { |
210 | } | 205 | } |
@@ -266,7 +261,7 @@ static const struct drm_encoder_helper_funcs nv50_dac_helper_funcs = { | |||
266 | .save = nv50_dac_save, | 261 | .save = nv50_dac_save, |
267 | .restore = nv50_dac_restore, | 262 | .restore = nv50_dac_restore, |
268 | .mode_fixup = nv50_dac_mode_fixup, | 263 | .mode_fixup = nv50_dac_mode_fixup, |
269 | .prepare = nv50_dac_prepare, | 264 | .prepare = nv50_dac_disconnect, |
270 | .commit = nv50_dac_commit, | 265 | .commit = nv50_dac_commit, |
271 | .mode_set = nv50_dac_mode_set, | 266 | .mode_set = nv50_dac_mode_set, |
272 | .get_crtc = nv50_dac_crtc_get, | 267 | .get_crtc = nv50_dac_crtc_get, |
diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c index da603b1d8e3f..3fab98a2f959 100644 --- a/drivers/gpu/drm/nouveau/nv50_sor.c +++ b/drivers/gpu/drm/nouveau/nv50_sor.c | |||
@@ -174,6 +174,7 @@ nv50_sor_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode, | |||
174 | static void | 174 | static void |
175 | nv50_sor_prepare(struct drm_encoder *encoder) | 175 | nv50_sor_prepare(struct drm_encoder *encoder) |
176 | { | 176 | { |
177 | nv50_sor_disconnect(encoder); | ||
177 | } | 178 | } |
178 | 179 | ||
179 | static void | 180 | static void |