2022-06-08 08:53:10

by Stephen Kitt

[permalink] [raw]
Subject: [PATCH 0/7] fbdev: Use backlight helpers

backlight_properties.fb_blank is deprecated. The states it represents
are handled by other properties; but instead of accessing those
properties directly, drivers should use the helpers provided by
backlight.h, even in cases where fb_blank isn't involved.

This will ultimately allow fb_blank to be removed.

Stephen Kitt (7):
fbdev: aty128fb: Use backlight helper
fbdev: atyfb: Use backlight helper
fbdev: radeon: Use backlight helper
fbdev: mx3fb: Use backlight helper
fbdev: nvidia: Use backlight helper
fbdev: omapfb: panel-dsi-cm: Use backlight helper
fbdev: riva: Use backlight helper

drivers/video/fbdev/aty/aty128fb.c | 6 ++----
drivers/video/fbdev/aty/atyfb_base.c | 8 +-------
drivers/video/fbdev/aty/radeon_backlight.c | 6 +-----
drivers/video/fbdev/mx3fb.c | 7 +------
drivers/video/fbdev/nvidia/nv_backlight.c | 8 +-------
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 8 +-------
drivers/video/fbdev/riva/fbdev.c | 8 +-------
7 files changed, 8 insertions(+), 43 deletions(-)


base-commit: f2906aa863381afb0015a9eb7fefad885d4e5a56
--
2.30.2


2022-06-08 15:08:32

by Daniel Thompson

[permalink] [raw]
Subject: Re: [PATCH 0/7] fbdev: Use backlight helpers

On Tue, Jun 07, 2022 at 09:23:28PM +0200, Stephen Kitt wrote:
> backlight_properties.fb_blank is deprecated. The states it represents
> are handled by other properties; but instead of accessing those
> properties directly, drivers should use the helpers provided by
> backlight.h, even in cases where fb_blank isn't involved.
>
> This will ultimately allow fb_blank to be removed.
>
> Stephen Kitt (7):
> fbdev: aty128fb: Use backlight helper
> fbdev: atyfb: Use backlight helper
> fbdev: radeon: Use backlight helper
> fbdev: mx3fb: Use backlight helper
> fbdev: nvidia: Use backlight helper
> fbdev: omapfb: panel-dsi-cm: Use backlight helper
> fbdev: riva: Use backlight helper
>
> drivers/video/fbdev/aty/aty128fb.c | 6 ++----
> drivers/video/fbdev/aty/atyfb_base.c | 8 +-------
> drivers/video/fbdev/aty/radeon_backlight.c | 6 +-----
> drivers/video/fbdev/mx3fb.c | 7 +------
> drivers/video/fbdev/nvidia/nv_backlight.c | 8 +-------
> drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 8 +-------
> drivers/video/fbdev/riva/fbdev.c | 8 +-------
> 7 files changed, 8 insertions(+), 43 deletions(-)

FWIW, from a backlight point-of-view, whole series is
Reviewed-by: Daniel Thompson <[email protected]>


Daniel.