drm/tilcdc: Remove drm_helper_disable_unused_functions() call
authorJyri Sarha <jsarha@ti.com>
Thu, 11 Aug 2016 08:22:12 +0000 (11:22 +0300)
committerJyri Sarha <jsarha@ti.com>
Thu, 1 Sep 2016 19:31:41 +0000 (22:31 +0300)
drm_helper_disable_unused_functions() should not be called by atomic
drivers.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c

index 4405e4bc8056844d95644dc209230d02d894154b..1f29a9314d114f4b4ea3470b5cd9e127c5f17985 100644 (file)
@@ -361,8 +361,6 @@ static int tilcdc_load(struct drm_device *dev, unsigned long flags)
                        break;
        }
 
-       drm_helper_disable_unused_functions(dev);
-
        drm_mode_config_reset(dev);
 
        priv->fbdev = drm_fbdev_cma_init(dev, bpp,