dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] backlight: Do not include <linux/fb.h> in header file
@ 2025-06-18 12:16 Thomas Zimmermann
  2025-06-18 12:16 ` [PATCH 01/12] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
                   ` (11 more replies)
  0 siblings, 12 replies; 21+ messages in thread
From: Thomas Zimmermann @ 2025-06-18 12:16 UTC (permalink / raw)
  To: lee, danielt, jingoohan1, neil.armstrong, jessica.zhang,
	maarten.lankhorst, mripard, airlied, simona, fnkl.kernel, j,
	hdegoede, ilpo.jarvinen, sven, alyssa, neal, deller,
	support.opensource, duje.mihanovic
  Cc: dri-devel, asahi, platform-driver-x86, linux-arm-kernel,
	linux-fbdev, Thomas Zimmermann

Remove the final dependencies on fbdev from the backlight subsystem.
This is really just the include of <linux/fb.h> in backlight, but it
has some fallout in other code.

Patches 1 to 11 fix all the implicit includes that come from fb.h
throughout the kernel. It's all trivial, but touches various drivers.
Maintainers are in CC. Patch 12 fixes the backlight header.

With the series applied the backlight subsystem should be free from
fbdev dependencies.

Thomas Zimmermann (12):
  platform/x86: dell-uart-backlight: Use blacklight power constant
  drm/panel: panel-samsung-s6e63m0: Include <linux/of.h>
  drm/panel: panel-samsung-s6e88a0-ams427ap24: Include <linux/of.h>
  drm/panel: panel-summit: Include <linux/of.h>
  fbcon: Add necessary include statements and forward declarations
  backlight: Include <linux/of.h>
  backlight: apple_dwi_bl: Include <linux/mod_devicetable.h>
  backlight: as3711_bl: Include <linux/of.h>
  backlight: da9052_bl: Include <linux/mod_devicetable.h>
  backlight: ktd2801: Include <linux/mod_devicetable.h>
  backlight: led_bl: Include <linux/of.h>
  backlight: Do not include <linux/fb.h> in header file

 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c            | 1 +
 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 1 +
 drivers/gpu/drm/panel/panel-summit.c                     | 1 +
 drivers/platform/x86/dell/dell-uart-backlight.c          | 2 +-
 drivers/video/backlight/apple_dwi_bl.c                   | 1 +
 drivers/video/backlight/as3711_bl.c                      | 1 +
 drivers/video/backlight/backlight.c                      | 1 +
 drivers/video/backlight/da9052_bl.c                      | 1 +
 drivers/video/backlight/ktd2801-backlight.c              | 1 +
 drivers/video/backlight/led_bl.c                         | 1 +
 include/linux/backlight.h                                | 1 -
 include/linux/fbcon.h                                    | 7 +++++++
 12 files changed, 17 insertions(+), 2 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-06-24 16:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 12:16 [PATCH 00/12] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 01/12] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
2025-06-18 13:01   ` Hans de Goede
2025-06-24 11:36   ` Ilpo Järvinen
2025-06-18 12:16 ` [PATCH 02/12] drm/panel: panel-samsung-s6e63m0: Include <linux/of.h> Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 03/12] drm/panel: panel-samsung-s6e88a0-ams427ap24: " Thomas Zimmermann
2025-06-18 13:42   ` neil.armstrong
2025-06-18 12:16 ` [PATCH 04/12] drm/panel: panel-summit: " Thomas Zimmermann
2025-06-18 15:19   ` Janne Grunau
2025-06-18 12:16 ` [PATCH 05/12] fbcon: Add necessary include statements and forward declarations Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 06/12] backlight: Include <linux/of.h> Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 07/12] backlight: apple_dwi_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-06-18 15:08   ` Nick Chan
2025-06-18 12:16 ` [PATCH 08/12] backlight: as3711_bl: Include <linux/of.h> Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 09/12] backlight: da9052_bl: Include <linux/mod_devicetable.h> Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 10/12] backlight: ktd2801: " Thomas Zimmermann
2025-06-18 15:04   ` Nick Chan
2025-06-24 16:41   ` Duje Mihanović
2025-06-18 12:16 ` [PATCH 11/12] backlight: led_bl: Include <linux/of.h> Thomas Zimmermann
2025-06-18 12:16 ` [PATCH 12/12] backlight: Do not include <linux/fb.h> in header file Thomas Zimmermann
2025-06-19  5:12   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).