Message ID | 20230107-sam-video-backlight-drop-fb_blank-v1-0-1bd9bafb351f@ravnborg.org (mailing list archive) |
---|---|
Headers | show |
Series | backlight: Drop use of deprecated fb_blank property | expand |
On Sat, Jan 07, 2023 at 07:26:15PM +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > This series refactor backlight users to avoid use of the > deprecated backlight_properties.fb_blank member. > > Stephen Kitt <steve@sk2.org> and others already did a lot of > work and this is the final touches. > > Patches 1-13 are independent and can be applied individually. > Patch 14 was already sent by Stephen and included here to make > the series complete. > > The last patch may have to wait to avoid breaking the build > as it depends on all the other patches. > > The series touches several sub-systems, so with acks I could > take them all in drm-misc. Or we can let the subsystems take > them and wait until next merge window with the final removal. > As new users of fb_blank do not pop up that often, waiting > one merge cycle is fine. > > Sam > > To: Nicolas Ferre <nicolas.ferre@microchip.com> > To: Helge Deller <deller@gmx.de> > To: Alexandre Belloni <alexandre.belloni@bootlin.com> > To: Claudiu Beznea <claudiu.beznea@microchip.com> > To: Antonino Daplas <adaplas@gmail.com> > To: Benjamin Herrenschmidt <benh@kernel.crashing.org> > To: Paul Mackerras <paulus@samba.org> > To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > To: Robin van der Gracht <robin@protonic.nl> > To: Miguel Ojeda <ojeda@kernel.org> > To: Lee Jones <lee@kernel.org> > To: Daniel Thompson <daniel.thompson@linaro.org> > To: Jingoo Han <jingoohan1@gmail.com> > Cc: dri-devel@lists.freedesktop.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-omap@vger.kernel.org > Cc: linux-staging@lists.linux.dev > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Stephen Kitt <steve@sk2.org> > Signed-off-by: Sam Ravnborg <sam@ravnborg.org> I have created a helper script [1] to send series, so it hides these long Cc lists behind the command line parameters. Feel free to use / comment / update / take any ideas from it... [1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh
This series refactor backlight users to avoid use of the deprecated backlight_properties.fb_blank member. Stephen Kitt <steve@sk2.org> and others already did a lot of work and this is the final touches. Patches 1-13 are independent and can be applied individually. Patch 14 was already sent by Stephen and included here to make the series complete. The last patch may have to wait to avoid breaking the build as it depends on all the other patches. The series touches several sub-systems, so with acks I could take them all in drm-misc. Or we can let the subsystems take them and wait until next merge window with the final removal. As new users of fb_blank do not pop up that often, waiting one merge cycle is fine. Sam To: Nicolas Ferre <nicolas.ferre@microchip.com> To: Helge Deller <deller@gmx.de> To: Alexandre Belloni <alexandre.belloni@bootlin.com> To: Claudiu Beznea <claudiu.beznea@microchip.com> To: Antonino Daplas <adaplas@gmail.com> To: Benjamin Herrenschmidt <benh@kernel.crashing.org> To: Paul Mackerras <paulus@samba.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: Robin van der Gracht <robin@protonic.nl> To: Miguel Ojeda <ojeda@kernel.org> To: Lee Jones <lee@kernel.org> To: Daniel Thompson <daniel.thompson@linaro.org> To: Jingoo Han <jingoohan1@gmail.com> Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-staging@lists.linux.dev Cc: linuxppc-dev@lists.ozlabs.org Cc: Stephen Kitt <steve@sk2.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --- Sam Ravnborg (14): video: fbdev: atmel_lcdfb: Rework backlight handling video: fbdev: atyfb: Introduce backlight_get_brightness() video: fbdev: nvidia: Introduce backlight_get_brightness() video: fbdev: radeon: Introduce backlight_get_brightness() video: fbdev: riva: Introduce backlight_get_brightness() video: fbdev: aty128fb: Introduce backlight_get_brightness() video: fbdev: mx3fb: Introduce backlight_get_brightness() video: fbdev: omap2: Introduce backlight_get_brightness() staging: fbtft: fb_ssd1351.c: Introduce backlight_is_blank() staging: fbtft: core: Introduce backlight_is_blank() powerpc: via-pmu-backlight: Introduce backlight_get_brightness() auxdisplay: ht16k33: Introduce backlight_get_brightness() backlight: omap1: Use backlight helpers backlight: backlight: Drop the deprecated fb_blank property Stephen Kitt (1): backlight: tosa: Use backlight helper drivers/auxdisplay/ht16k33.c | 7 +-- drivers/macintosh/via-pmu-backlight.c | 7 +-- drivers/staging/fbtft/fb_ssd1351.c | 9 +-- drivers/staging/fbtft/fbtft-core.c | 12 ++-- drivers/video/backlight/backlight.c | 2 - drivers/video/backlight/omap1_bl.c | 67 +++------------------- drivers/video/backlight/tosa_bl.c | 7 +-- drivers/video/fbdev/atmel_lcdfb.c | 24 +------- drivers/video/fbdev/aty/aty128fb.c | 11 +--- drivers/video/fbdev/aty/atyfb_base.c | 8 +-- drivers/video/fbdev/aty/radeon_backlight.c | 10 +--- drivers/video/fbdev/mx3fb.c | 8 +-- drivers/video/fbdev/nvidia/nv_backlight.c | 8 +-- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 19 +----- .../omap2/omapfb/displays/panel-sony-acx565akm.c | 23 +++----- drivers/video/fbdev/riva/fbdev.c | 8 +-- include/linux/backlight.h | 22 ------- 17 files changed, 41 insertions(+), 211 deletions(-) --- base-commit: a53be8dae86fe5d3567db245177e814e58210632 change-id: 20230107-sam-video-backlight-drop-fb_blank-d6feb73572ff Best regards,