drm/sti: Remove local fbdev emulation Kconfig option
authorArchit Taneja <architt@codeaurora.org>
Tue, 27 Oct 2015 08:10:58 +0000 (13:40 +0530)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 3 Nov 2015 12:04:55 +0000 (13:04 +0100)
DRM_STI_FBDEV config is currently used to enable/disable fbdev emulation
for the sti kms driver.

Remove this local config option and use the core fb helpers with
drm_kms_helper.fbdev_emulation module option to enable/disable fbdev
at runtime.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/Kconfig
drivers/gpu/drm/sti/sti_drv.c

index 0a9048c47b95812d4d18c44c58314c93defeab48..3f8d590e5c346383453ae488d38a6a24e0d2a9f9 100644 (file)
@@ -10,9 +10,3 @@ config DRM_STI
        select FW_LOADER_USER_HELPER_FALLBACK
        help
          Choose this option to enable DRM on STM stiH41x chipset
-
-config DRM_STI_FBDEV
-       bool "DRM frame buffer device for STMicroelectronics SoC stiH41x Serie"
-       depends on DRM_STI
-       help
-         Choose this option to enable FBDEV on top of DRM for STM stiH41x chipset
index 105e7e54b2a755746f4d5d6ed480ecba85a5336f..45c637534d963332eabe966f683a3d7a561260e6 100644 (file)
@@ -160,11 +160,10 @@ static int sti_load(struct drm_device *dev, unsigned long flags)
 
        drm_mode_config_reset(dev);
 
-#ifdef CONFIG_DRM_STI_FBDEV
        drm_fbdev_cma_init(dev, 32,
                           dev->mode_config.num_crtc,
                           dev->mode_config.num_connector);
-#endif
+
        return 0;
 }
 
This page took 0.025114 seconds and 5 git commands to generate.