Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4092171rwl; Sat, 7 Jan 2023 10:53:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXtyqARGIGbnYQkjoQSODu0plPL1snD5WARh9uuvL3LIDTzWEqsgmeBjSzEaLCSuqWvvH6t9 X-Received: by 2002:a05:6402:1948:b0:470:1f1:257a with SMTP id f8-20020a056402194800b0047001f1257amr52702644edz.25.1673117632606; Sat, 07 Jan 2023 10:53:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673117632; cv=none; d=google.com; s=arc-20160816; b=WNdS/7kW6ABplew7QPaQqy7wv9Ja3cUSxHq08WIilHsYw631klzKv6hFfl8VMk5oFA g1SGclADfQSFGunzhZpEtsE7WyarTKx5uUezhmcsXQdt9USn/El/CjuOyFEekTcWKY4G Eeotk3H/AcnA6TVFQtSBsufLZnsMmS3aDgnW+qvNCEwAl6uJJbDdV/b4ibevhzJszhUH mkkO/j/Tw10V5RijlO2jPb2JBwlFz00uLcPSoP5xf3XSdgrTAf593KjXMOV5wsTW2emp M+YrR5PNEiL4XOLFBSJqB3dIzmSMbNTiVv7+JXFiGjUEJ97oql7VnnFQTH5VdcLcKxs/ MBjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=aRNwUPHB/CaG3kK+aggImqxRNLqvmBjTwiDwU9cVFq8=; b=0ElN+8HhnMhwLEzAMfMpiq8qhIQXxALUzEUQ5Qetv1K+3c7DKtfY4ye+ogWWtQ6XqZ DtcWJlMafC27pYA8BQkD/WCtrNigz2iiQHZBYS8Sg86obfzqWK/f5ZVLAZo+5bIgUYMF 9qjqJ24xDTX513xVqWQUmFyvKBXsztGnpzpk5Mi6QlOvFSpN1oHX8zPjxeAeh1YrylDx iemzuhqCI3jcngvbEZ3voGflHUhsHcUIlJYmt8cuJsNEbIYstmWhbWSsDDFVR3zmEzq0 hJS6YfBNIbvIk7+R//mBVTyCgBmrQ22N+EAW7EJeklCe28b2ObfrNBqWkIi1dCo9XsmS QAsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s7SME9CL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i37-20020a0564020f2500b004821228f4dasi5428415eda.326.2023.01.07.10.53.40; Sat, 07 Jan 2023 10:53:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s7SME9CL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232774AbjAGS1E (ORCPT + 54 others); Sat, 7 Jan 2023 13:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232564AbjAGS0Y (ORCPT ); Sat, 7 Jan 2023 13:26:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B9523F108; Sat, 7 Jan 2023 10:26:23 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 502F8B802C6; Sat, 7 Jan 2023 18:26:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id F0F58C433EF; Sat, 7 Jan 2023 18:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673115981; bh=G9hzMu5p0tLB7xBK5DaOacF6SFxP5wjAYhU58D1pA54=; h=From:Subject:Date:To:Cc:Reply-To:From; b=s7SME9CLzwcTO/ASMmBSkFdogveRGnrTzvOdb0R/wUCIMbl12h0AAX6mJfV+N/YT5 Q6CeS34Bbfd8kFxZIG/tClO7GSrWtHTdQy1K5G8xn+b/jKPP6nD6fbKwnKcoVyTvkE L4GmB62ApgAjt1hooWH0M6/Ysb214IItHyrMMKeDxl7ybzUppwU01l3Sghai0DEgKj 3EBCDpydzGHkoF6Ml3yNh2ZrCLl3cSwVaD/b8Ke/VlUsXeQ2GRrMZKPTjUNMHLvnbE jc3OkOtpk+Zxh+/92Zp4oWzgtwyZs6qi047z3PnSmi5cJ3qYzUGbVpinxuq4Ctih5D jjOQRfS49bhsQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFC7FC46467; Sat, 7 Jan 2023 18:26:20 +0000 (UTC) From: Sam Ravnborg via B4 Submission Endpoint Subject: [PATCH 00/15] backlight: Drop use of deprecated fb_blank property Date: Sat, 07 Jan 2023 19:26:15 +0100 Message-Id: <20230107-sam-video-backlight-drop-fb_blank-v1-0-1bd9bafb351f@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEe5uWMC/x2NQQrDIBAAvxL23AVjaIV+pZSy6hqXWA2ahkLI3 ys9zhxmDmhchRvchwMq79Kk5A7jZQAXKc+M4juDVnpSozLY6I27eC5oyS1J5rihr2XFYF82UV7Q 3wJbM12NDgF6x1JjtJWyi72UPyl1uVYO8v2PH8/z/AF/VluqiAAAAA== To: Nicolas Ferre , Helge Deller , Alexandre Belloni , Claudiu Beznea , Antonino Daplas , Benjamin Herrenschmidt , Paul Mackerras , Greg Kroah-Hartman , Robin van der Gracht , Miguel Ojeda , Lee Jones , Daniel Thompson , Jingoo Han Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, Stephen Kitt , Sam Ravnborg , Ludovic Desroches , Bartlomiej Zolnierkiewicz , Daniel Vetter , Souptick Joarder , Maarten Lankhorst , Jason Yan , Jani Nikula , Arnd Bergmann , Kate Stewart , Thomas Gleixner , Laurent Pinchart , Allison Randal , Enrico Weigelt , Alexios Zavras , Andy Shevchenko , Thomas Zimmermann , Javier Martinez Canillas , Peter Suti , Geert Uytterhoeven X-Mailer: b4 0.11.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1673115978; l=3981; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=G9hzMu5p0tLB7xBK5DaOacF6SFxP5wjAYhU58D1pA54=; =?utf-8?q?b=3DFNO5zZgcfHvw?= =?utf-8?q?8aK7wMXzvmp/dYtdmD0IQvqUZjY3X80l+WPDDLGTQyLG8MFQqLK6OxIku5yHTG4f?= c85wS6ixCns7gLN5/2aI3NwPuKvJlO0zM95nxUrNYAzqepPg69ZN X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Submission Endpoint for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series refactor backlight users to avoid use of the deprecated backlight_properties.fb_blank member. Stephen Kitt 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 To: Helge Deller To: Alexandre Belloni To: Claudiu Beznea To: Antonino Daplas To: Benjamin Herrenschmidt To: Paul Mackerras To: Greg Kroah-Hartman To: Robin van der Gracht To: Miguel Ojeda To: Lee Jones To: Daniel Thompson To: Jingoo Han 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 Signed-off-by: Sam Ravnborg --- 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, -- Sam Ravnborg