Skip to content

video: Simplify Kconfig options

Thomas Zimmermann dri-devel linux-fbdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* support CONFIG_FB_CORE=m via IS_ENABLED() (kernel test robot)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3video/cmdline: Introduce CONFIG_VIDEO for video= parameterdrivers/gpu/drm/Kconfig drivers/video/Kconfig drivers/video/Makefile +2 more+5 -110 replies
2/3video/cmdline: Hide __video_get_options() behind CONFIG_FB_COREdrivers/video/cmdline.c include/video/cmdline.h+5 -00 replies
3/3video/nomodeset: Select nomodeset= parameter with CONFIG_VIDEOdrivers/gpu/drm/Kconfig drivers/staging/sm750fb/Kconfig drivers/video/Kconfig +5 more+1 -570 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel Vetter
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] video: Simplify Kconfig options

Replace CONFIG_VIDEO_CMDLINE and CONFIG_VIDEO_NOMODESET by the single option CONFIG_VIDEO. Select the latter for DRM or fbdev. Both original options used to be selected in most cases, so this change simplifies the Kconfig rules.

Since commit ca6c080eef42 ("arch/parisc: Detect primary video device from device instance") architecture helpers for fbdev do not longer require fbdev in their implementation and could be used for non-fbdev code as well. Eventually guarding them with CONFIG_VIDEO will make them available to any subsystem.

v2:
* support CONFIG_FB_CORE=m via IS_ENABLED() (kernel test robot)

Thomas Zimmermann (3):
video/cmdline: Introduce CONFIG_VIDEO for video= parameter video/cmdline: Hide __video_get_options() behind CONFIG_FB_CORE video/nomodeset: Select nomodeset= parameter with CONFIG_VIDEO

 drivers/gpu/drm/Kconfig           |  3 +--
 drivers/staging/sm750fb/Kconfig   |  1 -
 drivers/video/Kconfig             |  5 +----
 drivers/video/Makefile            |  3 +--
 drivers/video/cmdline.c           |  2 ++
 drivers/video/fbdev/Kconfig       | 37 -------------------------------
 drivers/video/fbdev/core/Kconfig  |  2 +-
 drivers/video/fbdev/core/fbmem.c  |  2 --
 drivers/video/fbdev/geode/Kconfig |  3 ---
 include/linux/fb.h                |  7 ------
 include/video/cmdline.h           |  8 ++-----
 11 files changed, 8 insertions(+), 65 deletions(-)

base-commit: 05b317e8457c8e2bd1a797c9440ec07b7f341584

Signature · 1 line
2.43.0