]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/sti: Remove local fbdev emulation Kconfig option
authorArchit Taneja <architt@codeaurora.org>
Tue, 27 Oct 2015 08:10:58 +0000 (13:40 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Oct 2015 10:26:25 +0000 (11:26 +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 top level DRM_FBDEV_EMULATION
config option instead where applicable.

We replace the #ifdef in sti_drm_load with CONFIG_DRM_FBDEV_EMULATION.
It's probably okay to get remove the #ifdef itself, but just left it here
for now to be safe. It can be removed after some testing.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1445933459-5249-3-git-send-email-architt@codeaurora.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/sti/Kconfig
drivers/gpu/drm/sti/sti_drv.c

index fbccc105819b707c2b3be9383dfd1898cee239af..e3aa5afc02444426b8fcf9fc889fb1bc2fc0b398 100644 (file)
@@ -9,9 +9,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 f8469967a0bfbb43dcf5faee539ac9b5d5b5f328..1b2db6c32079023eedb1ddd387e77fbc7128f375 100644 (file)
@@ -160,7 +160,7 @@ static int sti_load(struct drm_device *dev, unsigned long flags)
 
        drm_mode_config_reset(dev);
 
-#ifdef CONFIG_DRM_STI_FBDEV
+#ifdef CONFIG_DRM_FBDEV_EMULATION
        drm_fbdev_cma_init(dev, 32,
                           dev->mode_config.num_crtc,
                           dev->mode_config.num_connector);