[RFC v2 0/6] drm: fb emulation: Step 2: Create a fbdev emulation config option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This provides a uniform interface to enable/disable legacy fbdev support
for modesetting drivers.

DRM_FBDEV_EMULATION is made available in the top level drm Kconfig. A
driver that wants fbdev emulation using drm_fb_helper can enable this
option.

Apart from 5 drivers (msm, tegra, imx, sti, i915), all enable fbdev
emulation by default. For these drivers, if we explicitly disable fbdev
emulation, the 'hope' is that we will cleanly bail out with an error. We
set DRM_FBDEV_EMULATION to 'y' by default, since most drivers rely on it.


Archit Taneja (6):
  drm: Add top level Kconfig option for DRM fbdev emulation
  drm/msm: Remove local fbdev emulation Kconfig option
  drm/tegra: Remove local fbdev emulation Kconfig option
  drm/imx: Remove local fbdev emulation Kconfig option
  drm/sti: Remove local fbdev emulation Kconfig option
  drm/i915: Remove local fbdev emulation Kconfig option

 drivers/gpu/drm/Kconfig              |  12 +++
 drivers/gpu/drm/Makefile             |   2 +-
 drivers/gpu/drm/i915/Kconfig         |  15 ---
 drivers/gpu/drm/i915/Makefile        |   4 +-
 drivers/gpu/drm/i915/i915_debugfs.c  |   2 +-
 drivers/gpu/drm/i915/i915_drv.h      |   2 -
 drivers/gpu/drm/i915/intel_display.c |  10 +-
 drivers/gpu/drm/i915/intel_dp_mst.c  |  14 +--
 drivers/gpu/drm/i915/intel_drv.h     |   3 +-
 drivers/gpu/drm/i915/intel_fbdev.c   |   7 --
 drivers/gpu/drm/imx/Kconfig          |   9 --
 drivers/gpu/drm/imx/imx-drm-core.c   |  10 +-
 drivers/gpu/drm/msm/Kconfig          |  14 ---
 drivers/gpu/drm/msm/Makefile         |   2 +-
 drivers/gpu/drm/msm/msm_drv.c        |   8 +-
 drivers/gpu/drm/sti/Kconfig          |   6 --
 drivers/gpu/drm/sti/sti_drm_drv.c    |   2 +-
 drivers/gpu/drm/tegra/Kconfig        |  12 ---
 drivers/gpu/drm/tegra/drm.c          |  15 ++-
 drivers/gpu/drm/tegra/drm.h          |   8 --
 drivers/gpu/drm/tegra/fb.c           |  25 ++---
 include/drm/drm_fb_helper.h          | 192 +++++++++++++++++++++++++++++++++++
 22 files changed, 242 insertions(+), 132 deletions(-)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux