Skip to content

drm, fbdev: rework dependencies

Arnd Bergmann dri-devel linux-fbdev linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fbdev: w100fb: clean up mach-pxa compile-time dependencyarch/arm/configs/pxa_defconfig arch/arm/mach-pxa/Kconfig arch/arm/mach-pxa/eseries.c +2 more+16 -932 replies
2/8fbdev/ARM: pxa: avoid selecting CONFIG_FBarch/arm/configs/pxa_defconfig arch/arm/mach-pxa/Kconfig arch/arm/mach-pxa/saar.c +1 more+3 -61 reply
3/8fbdev: rework FB_DDC dependenciesdrivers/video/fbdev/Kconfig+13 -40 replies
4/8drm/rcar: stop using 'imply' for dependenciesdrivers/gpu/drm/rcar-du/Kconfig+15 -80 replies
5/8drm/vmwgfx: make framebuffer support optionaldrivers/gpu/drm/vmwgfx/Kconfig drivers/gpu/drm/vmwgfx/Makefile drivers/gpu/drm/vmwgfx/vmwgfx_drv.c+35 -211 reply
6/8drm: decouple from CONFIG_FBdrivers/gpu/drm/Kconfig drivers/gpu/drm/mxsfb/Kconfig drivers/gpu/drm/zte/Kconfig+3 -43 replies
7/8fbdev: rework backlight dependenciesdrivers/auxdisplay/Kconfig drivers/macintosh/Kconfig drivers/staging/fbtft/Kconfig +2 more+15 -43 replies
8/8drm/bridge/sii8620: fix extcon dependencydrivers/gpu/drm/bridge/Kconfig+1 -11 reply

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchSam RavnborgAndrzej HajdaJani NikulaThomas Zimmermann
1/8
2/8
3/8
4/8
5/8A-b
6/8R-b
7/8A-b
8/8R-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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] drm, fbdev: rework dependencies

I tried to fix up some dependencies after the sii8620 "imply EXTCON" statementn broke, trying a few things but in the backing out a change that would completely reverse the LEDS_CLASS selects into a 'depends on'.

However, what I got now are multiple changes that remove gratious "selects" that lead to circular dependencies for sii8620 and others:

- Anything doing "select FB" is now gone, or becomes "depends on FB",

- DDC support depends on I2C instead of selecting it

- backlight class device support is never selected by framebuffer drivers but has proper dependencies

I have done thousands of randconfig build tests on this, but no runtime tests.

Some of the 'depends on FOO || !FOO' statements could be simplified into a new 'uses FOO' syntax based on a patch from Saeed Mahameed, but I would for the moment treat that as a cleanup that can be done later.

If we can agree on these changes, maybe someone can merge them through the drm-misc tree.

Please review

Arnd

Arnd Bergmann (8):
fbdev: w100fb: clean up mach-pxa compile-time dependency fbdev/ARM: pxa: avoid selecting CONFIG_FB
fbdev: rework FB_DDC dependencies
drm/rcar: stop using 'imply' for dependencies drm/vmwgfx: make framebuffer support optional
drm: decouple from CONFIG_FB
fbdev: rework backlight dependencies drm/bridge/sii8620: fix extcon dependency

 arch/arm/configs/pxa_defconfig      |  3 ++
 arch/arm/mach-pxa/Kconfig           |  7 ---
 arch/arm/mach-pxa/eseries.c         | 14 +----
 arch/arm/mach-pxa/saar.c            |  2 +-
 arch/arm/mach-pxa/tavorevb.c        |  2 +-
 drivers/auxdisplay/Kconfig          |  1 +
 drivers/gpu/drm/Kconfig             |  5 +-
 drivers/gpu/drm/bridge/Kconfig      |  2 +-
 drivers/gpu/drm/mxsfb/Kconfig       |  1 -
 drivers/gpu/drm/rcar-du/Kconfig     | 23 +++++---
 drivers/gpu/drm/vmwgfx/Kconfig      | 17 +++---
 drivers/gpu/drm/vmwgfx/Makefile     |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 35 +++++++-----
 drivers/gpu/drm/zte/Kconfig         |  1 -
 drivers/macintosh/Kconfig           |  1 +
 drivers/staging/fbtft/Kconfig       |  1 +
 drivers/staging/olpc_dcon/Kconfig   |  2 +-
 drivers/video/fbdev/Kconfig         | 31 ++++++++---
 drivers/video/fbdev/w100fb.c        | 84 +++++------------------------
 include/video/w100fb.h              |  6 +--
 20 files changed, 101 insertions(+), 141 deletions(-)
Signature · 26 lines
2.26.0

Cc: Jani Nikula <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Saeed Mahameed <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>,
Cc: "[email protected]" <[email protected]>,
Cc: <[email protected]>,
Cc: <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]