drm/sti: Don't call drm_helper_disable_unused_functions
authorDaniel Vetter <[email protected]>
Wed, 1 Jun 2016 22:07:00 +0000 (00:07 +0200)
committerDaniel Vetter <[email protected]>
Fri, 17 Jun 2016 12:27:02 +0000 (14:27 +0200)
Atomic drivers are supposed to do hw/sw state reset with the
drm_mode_config_reset() call right above it.

Cc: Benjamin Gaignard <[email protected]>
Acked-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/sti/sti_drv.c

index dd2c400c4a46e2943f1ec0d49c41fae2ed2c8a34..26aa85d4b872fb9b13b2f0204287c92ecd558e8b 100644 (file)
@@ -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);