Skip to content

drm,fbdev: Fix module dependencies

Thomas Zimmermann dri-devel linux-fbdev linux-staging linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesIn review
  2. v23 patches 18 repliesSuperseded
  3. v13 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Fix PMAC_BACKLIGHT case (Christophe)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICEarch/powerpc/configs/pmac32_defconfig arch/powerpc/configs/ppc6xx_defconfig drivers/auxdisplay/Kconfig +4 more+19 -85 replies
2/3drm/fbdev: Select FB_CORE dependency for fbdev on DMA and TTMdrivers/gpu/drm/Kconfig+2 -00 replies
3/3drm: rework FB_CORE dependencydrivers/gpu/drm/Kconfig+1 -00 replies

Reviews trailers per patch

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

PatchThomas ZimmermannArnd BergmannHelge Deller
SeriesR-b
1/3A-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] drm,fbdev: Fix module dependencies

Fix the dependencies among the various graphics modules.

Before addressing the FB_CORE issue, patch 1 first resolves a problem with BACKLIGHT_CLASS_DEVICE. A number of fbdev drivers select it, which results in a recursive-dependency error after patch has been applied. Making these drivers (or parts of them) depend on BACKLIGHT_CLASS_DEVICE fixes this.

Patch 2 selects FB_CORE for DRM_GEM_DMA_HELPER and DRM_TTM_HELPER. This is necessary with the recently added DRM client library.

Patch 3 is the second half of the patch provided by Arnd at [1]. It could not yet be merged because of the issues fixed by patch 1.

Side note: For the majority of graphics drivers, backlight functionality depends on BACKLIGHT_CLASS_DEVICE. In a few cases drivers select the Kconfig token automatically. These drivers should be updated to depend on the token as well, such that backlight functionality is fully user- controlled.

v3:
- Fix PMAC_BACKLIGHT case (Christophe)
v2:
- s/BACKLIGHT_DEVICE_CLASS/BACKLIGHT_CLASS_DEVICE (Helge)
- Fix fbdev driver-dependency corner case (Arnd)

[1] https://patchwork.freedesktop.org/series/141411/

Arnd Bergmann (1):
drm: rework FB_CORE dependency

Thomas Zimmermann (2):
fbdev: Fix recursive dependencies wrt BACKLIGHT_CLASS_DEVICE drm/fbdev: Select FB_CORE dependency for fbdev on DMA and TTM

 arch/powerpc/configs/pmac32_defconfig |  1 +
 arch/powerpc/configs/ppc6xx_defconfig |  1 +
 drivers/auxdisplay/Kconfig            |  2 +-
 drivers/gpu/drm/Kconfig               |  3 +++
 drivers/macintosh/Kconfig             |  1 +
 drivers/staging/fbtft/Kconfig         |  1 +
 drivers/video/fbdev/Kconfig           | 18 +++++++++++++-----
 drivers/video/fbdev/core/Kconfig      |  3 +--
 8 files changed, 22 insertions(+), 8 deletions(-)
Signature · 1 line
2.47.1