diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i2c/ch7006_drv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i2c/ch7006_drv.c b/drivers/gpu/drm/i2c/ch7006_drv.c index 544a8a2d3562..b91e48d2190d 100644 --- a/drivers/gpu/drm/i2c/ch7006_drv.c +++ b/drivers/gpu/drm/i2c/ch7006_drv.c | |||
@@ -359,10 +359,10 @@ static int ch7006_encoder_set_property(struct drm_encoder *encoder, | |||
359 | if (modes_changed) { | 359 | if (modes_changed) { |
360 | drm_helper_probe_single_connector_modes(connector, 0, 0); | 360 | drm_helper_probe_single_connector_modes(connector, 0, 0); |
361 | 361 | ||
362 | /* Disable the crtc to ensure a full modeset is | ||
363 | * performed whenever it's turned on again. */ | ||
364 | if (crtc) | 362 | if (crtc) |
365 | drm_crtc_force_disable(crtc); | 363 | drm_crtc_helper_set_mode(crtc, &crtc->mode, |
364 | crtc->x, crtc->y, | ||
365 | crtc->primary->fb); | ||
366 | } | 366 | } |
367 | 367 | ||
368 | return 0; | 368 | return 0; |