[PATCH v3 0/2] drm/fbdev: Move helpers to clients/ subdirectory
From: Thomas Zimmermann <tzimmermann@suse.de>
Date: 2026-09-25 07:20:05
Also in:
amd-gfx, dri-devel, intel-gfx, intel-xe, linux-arm-msm, linux-rockchip, linux-samsung-soc, linux-tegra, nouveau, sashiko-reviews
Helpers for fbdev emulation are still linked into drm_kms_helper.ko,
which is for mode setting. Move the source and header files to the
clients/ subdirectory and link them into drm_client_lib.ko. This has
some fallout throughout drivers, but it's all trivial.
There are 3 module parameters to drm_kms_helper.ko that control fbdev
emulation. For compatibility with existing installations, leave them
in this module.
v3:
- remove obsolete dependencies from Kconfig
v2:
- update armada and docs
Thomas Zimmermann (2):
drm/fbdev: Move fbdev module parameters next to module init
drm/fbdev: Move fbdev helpers into client library
Documentation/gpu/drm-kms-helpers.rst | 6 +--
drivers/gpu/drm/Kconfig | 4 --
drivers/gpu/drm/Makefile | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
drivers/gpu/drm/armada/armada_fbdev.c | 2 +-
drivers/gpu/drm/clients/Makefile | 3 +-
drivers/gpu/drm/clients/drm_fbdev_client.c | 2 +-
.../drm_fbdev_helper.c} | 34 +---------------
drivers/gpu/drm/drm_crtc_helper_internal.h | 9 +++++
drivers/gpu/drm/drm_fbdev_dma.c | 2 +-
drivers/gpu/drm/drm_fbdev_shmem.c | 2 +-
drivers/gpu/drm/drm_fbdev_ttm.c | 2 +-
drivers/gpu/drm/drm_kms_helper_common.c | 39 +++++++++++++++++++
drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 2 +-
drivers/gpu/drm/gma500/fbdev.c | 2 +-
drivers/gpu/drm/i915/display/intel_fbdev.c | 2 +-
drivers/gpu/drm/msm/msm_debugfs.c | 2 +-
drivers/gpu/drm/msm/msm_fbdev.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 -
drivers/gpu/drm/omapdrm/omap_debugfs.c | 2 +-
drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 +-
drivers/gpu/drm/radeon/radeon_device.c | 2 +-
drivers/gpu/drm/radeon/radeon_fbdev.c | 2 +-
drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 2 +-
drivers/gpu/drm/sitronix/st7571.c | 1 -
drivers/gpu/drm/tegra/fbdev.c | 2 +-
drivers/gpu/drm/vboxvideo/vbox_mode.c | 2 +-
.../drm_fbdev_helper.h} | 4 +-
29 files changed, 76 insertions(+), 64 deletions(-)
rename drivers/gpu/drm/{drm_fb_helper.c => clients/drm_fbdev_helper.c} (97%)
rename include/drm/{drm_fb_helper.h => clients/drm_fbdev_helper.h} (99%)
base-commit: ff831af91674990f9f1814340860e96943d5df1a
prerequisite-patch-id: c67e5d886a47b7d0266d81100837557fda34cb24
prerequisite-patch-id: a5a973e527c88a5b47053d7a72aefe0b550197cb
prerequisite-patch-id: b9adc9622920a3e70168e672c2c92795b3e3a106
prerequisite-patch-id: 5030de433a01c2e99056cadb676a8e2ba35f055a
--
2.55.0