[RFC 00/21] drm: fb emulation: Step 3: Remove FB_KMS_HELPER config from drivers

Archit Taneja architt at codeaurora.org
Sun Jul 12 23:43:47 PDT 2015


With the top level DRM_FBDEV_EMULATION option, drivers don't need to
select DRM_FB_KMS_HELPER or other FB related config options in the
driver.

Even if FBDEV_EMULATION isn't select, the stubbed out versions of
the drm_fb_helper functions will be called.

There are some drivers which still need some FB stuff even after
these changes. They are qxl, udl and nouveau. These are handled a bit
differently compared to the other patches.

Archit Taneja (21):
  drm/cirrus: Remove FB_KMS_HELPER and FB related config options
  drm/rockchip: Remove FB_KMS_HELPER and FB related config options
  drm/armada: Remove FB_KMS_HELPER and FB related config options
  drm/ast: Remove FB_KMS_HELPER and FB related config options
  drm/omap: Remove FB_KMS_HELPER and FB related config options
  drm/exynos: Remove FB_KMS_HELPER and FB related config options
  drm/gma500: Remove FB_KMS_HELPER and FB related config options
  drm/mgag200: Remove FB_KMS_HELPER and FB related config options
  drm/radeon: Remove FB_KMS_HELPER and FB related config options
  drm/qxl: Remove FB_KMS_HELPER and FB related config options
  drm/nouveau: Remove FB_KMS_HELPER and FB related config options
  drm/udl: Remove FB_KMS_HELPER and FB related config options
  drm/bochs: Remove FB_KMS_HELPER and FB related config options
  drm/amdgpu: Remove FB_KMS_HELPER and FB related config options
  drm/virtio: Remove FB_KMS_HELPER and FB related config options
  drm/fb_cma_helper: Remove FB_KMS_HELPER and FB related config options
  drm/atmel-hlcdc: Remove FB_KMS_HELPER config option
  drm/imx: Remove FB_KMS_HELPER config option
  drm/rcar-du: Remove FB_KMS_HELPER config option
  drm/shmobile: Remove FB_KMS_HELPER config option
  drm/tilcdc: Remove FB_KMS_HELPER config option

 drivers/gpu/drm/Kconfig             |  4 ----
 drivers/gpu/drm/amd/amdgpu/Kconfig  |  4 ----
 drivers/gpu/drm/armada/Kconfig      |  4 ----
 drivers/gpu/drm/ast/Kconfig         |  4 ----
 drivers/gpu/drm/atmel-hlcdc/Kconfig |  1 -
 drivers/gpu/drm/bochs/Kconfig       |  4 ----
 drivers/gpu/drm/cirrus/Kconfig      |  4 ----
 drivers/gpu/drm/exynos/Kconfig      |  6 ------
 drivers/gpu/drm/gma500/Kconfig      |  4 ----
 drivers/gpu/drm/imx/Kconfig         |  1 -
 drivers/gpu/drm/mgag200/Kconfig     |  4 ----
 drivers/gpu/drm/nouveau/Kconfig     |  7 +------
 drivers/gpu/drm/omapdrm/Kconfig     |  5 -----
 drivers/gpu/drm/qxl/Kconfig         |  5 -----
 drivers/gpu/drm/qxl/qxl_fb.c        |  4 ++++
 drivers/gpu/drm/radeon/Kconfig      |  4 ----
 drivers/gpu/drm/rcar-du/Kconfig     |  1 -
 drivers/gpu/drm/rockchip/Kconfig    |  4 ----
 drivers/gpu/drm/shmobile/Kconfig    |  1 -
 drivers/gpu/drm/tilcdc/Kconfig      |  1 -
 drivers/gpu/drm/udl/Kconfig         |  5 -----
 drivers/gpu/drm/udl/udl_fb.c        | 10 ++++++++++
 drivers/gpu/drm/virtio/Kconfig      |  4 ----
 23 files changed, 15 insertions(+), 76 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation



More information about the dri-devel mailing list