Message ID | 20230619095547.111695-1-acelan.kao@canonical.com |
---|---|
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=Tkg0g+7z; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Ql4sG2qVmz20Wk for <incoming@patchwork.ozlabs.org>; Mon, 19 Jun 2023 19:56:01 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1qBBc3-0003HZ-9i; Mon, 19 Jun 2023 09:55:55 +0000 Received: from mail-pl1-f176.google.com ([209.85.214.176]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <acelan@gmail.com>) id 1qBBc0-0003HH-SN for kernel-team@lists.ubuntu.com; Mon, 19 Jun 2023 09:55:53 +0000 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1b539d2f969so16612175ad.0 for <kernel-team@lists.ubuntu.com>; Mon, 19 Jun 2023 02:55:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687168550; x=1689760550; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=eM2YXJolwW+piyYLckfvVsIqJ1kJR58UJpBDIvV8g3E=; b=Tkg0g+7zJ4iRDC/GFio9adwJmVUxwK8XV/ZlwqjFKNDpmVMp10c5PHonXGAPgpg7F9 DZgvmD0yolZEnQsoiJyYOqvRfAXPMHC5t9GxDWrbBVPA5HdWcz+J1XxejB99nrQE6Oxa JPGcLjHZShReBRGk2OlbmaYmkV6U831i+TTIFUK9OBC1M0W2dPxypaJz3uf4G9yMrliS wD+U6widUKLRUoVyju4JIr9omFclsQL8jBuulZwNYihdl4UGCHJE/SEauPj5lZ6pHTU4 TfhkfVK2uLLjuojfTOXypYB7/eo7PLrILJMePYmg4NFstk37YsQfCy9Og4hsxOc0GvbC jEow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687168550; x=1689760550; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eM2YXJolwW+piyYLckfvVsIqJ1kJR58UJpBDIvV8g3E=; b=J3xwrzGqUqQxmClB/ds751N7PSypumjPioaOaZCf13NM1Qow97z15UwMXJSdLtM5gY mhCM5O5JwISpMBovKu8UJ2JtSaQoofyApc3/X1doGr+TZN9Rtdgy4nPVLuse64opXc0L 8h351o8AF63GqxIsLA4cPZnE0Qy6/ncy8v/jIH3t883kMbG0HbcrBb47hIe2/lTtBaWP kRiKU3O11mxKkV1+azFsXVLpEv29AzCoJ8NEO4L0yLZcX7Aud6wEXhcgmu0+oYEIgBYU 7W3p4tQuqfs2M5p8iDw0Y1hjQ9i4AXnUwPHCGIRljBIKqXYoRC0qMWiaYUFU8rYC53HT 2kSA== X-Gm-Message-State: AC+VfDyv979ALWfJixJwmUE8SjHD35oFEniaRzx0V1c2b6KLzxReCLl9 NEEwN/Zk+OrOKV72JIXqPv5y1ZPWdzw= X-Google-Smtp-Source: ACHHUZ43ECmz+Gp0yER7CzpuylmaTpcjL/YCJJayB76PyrsYWP1DoruBI1pkvLIzTBSQk8/R0//+Zw== X-Received: by 2002:a17:902:c1c4:b0:1b5:e30:94dc with SMTP id c4-20020a170902c1c400b001b50e3094dcmr10773663plc.7.1687168550379; Mon, 19 Jun 2023 02:55:50 -0700 (PDT) Received: from localhost (220-135-95-34.hinet-ip.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id jj5-20020a170903048500b001b3df595582sm5576544plb.124.2023.06.19.02.55.49 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 02:55:49 -0700 (PDT) From: AceLan Kao <acelan.kao@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][L][M] Remove all other acpi_video backlight Date: Mon, 19 Jun 2023 17:55:46 +0800 Message-Id: <20230619095547.111695-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.176; envelope-from=acelan@gmail.com; helo=mail-pl1-f176.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Remove all other acpi_video backlight
|
expand
|
From: "Chia-Lin Kao (AceLan)" <acelan.kao@canonical.com> BugLink: https://launchpad.net/bugs/2008882 [Impact] There are acpi_video* sysfs backlight interface in the system which are not working. For Dell AIO platforms, we use dell_uart_backlight to control the display brightness. The old way to fix this is to unregister acpi backlight interfaces in the backlight driver, but it may lead to some issues and the unregister function has been removed since v6.1-rc1 77ab9d4d44cd ("ACPI: video: Remove acpi_video_set_dmi_backlight_type()") [Fix] The new way to do this is to collect all the quirk and auto detection method in video_detect.c I added an auto detection for the Dell AIO platoform to the driver which should do the same thing as the old way. [Test] Verified on the Dell AIO platform and confirmed there is only one dell_uart_backlight in the sysfs, and no acpi_video* interfaces. [Where problems could occur] There should be no regression potential, it uses different way to do the same thing, should be pretty safe. Chia-Lin Kao (AceLan) (1): UBUNTU: SAUCE: ACPI: video: Dell AIO UART backlight detection drivers/acpi/video_detect.c | 5 +++++ 1 file changed, 5 insertions(+)