[RFC 0/6] drm: Add DRM_FBDEV_EMULATION Kconfig option

From: Archit Taneja
Date: Tue Mar 10 2015 - 05:41:47 EST


This provides a uniform interface to enable/disable legacy fbdev support for
modesetting drivers, based on the discussion here:

http://lists.freedesktop.org/archives/dri-devel/2015-March/078729.html

This has only been build-tested for a few devices. Mainly looking for comments
for now.

The drivers that provide fbdev emulation by default won't be impacted by
this. However, if we could make all drivers use DRM_FBDEV_EMULATION, it
would clean up individual Kconfigs, and have a centralized place where we
touch FB_* configs.

Archit Taneja (6):
drm: Add top level Kconfig option for DRM fbdev emulation
drm/msm: Remove local fbdev emulation Kconfig option
drm/i915: 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

drivers/gpu/drm/Kconfig | 18 ++++++
drivers/gpu/drm/Makefile | 4 ++
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 | 4 +-
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 | 120 +++++++++++++++++++++++++++++++++++
22 files changed, 179 insertions(+), 127 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/