From: Daniel Vetter Date: Wed, 1 Jun 2016 22:07:00 +0000 (+0200) Subject: drm/sti: Don't call drm_helper_disable_unused_functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1cee2a22e5e6f2332bff818ffd2dada0306c0d15;p=openwrt%2Fstaging%2Fblogic.git drm/sti: Don't call drm_helper_disable_unused_functions Atomic drivers are supposed to do hw/sw state reset with the drm_mode_config_reset() call right above it. Cc: Benjamin Gaignard Acked-by: Benjamin Gaignard Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/1464818821-5736-38-git-send-email-daniel.vetter@ffwll.ch --- diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index dd2c400c4a46..26aa85d4b872 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++ b/drivers/gpu/drm/sti/sti_drv.c @@ -279,7 +279,6 @@ static int sti_load(struct drm_device *dev, unsigned long flags) drm_mode_config_reset(dev); - drm_helper_disable_unused_functions(dev); drm_fbdev_cma_init(dev, 32, dev->mode_config.num_crtc, dev->mode_config.num_connector);