Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp11480422qtf; Sun, 2 Jul 2023 13:01:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tmQaaWiOvn9D1IhDPXjn7CYkywSaSeR5v8Ev4gm20jhVyUgweeYiBV7XP+tWdb5AYxa9z X-Received: by 2002:a05:6a00:1d0a:b0:678:7744:31fd with SMTP id a10-20020a056a001d0a00b00678774431fdmr16896664pfx.0.1688328066640; Sun, 02 Jul 2023 13:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688328066; cv=none; d=google.com; s=arc-20160816; b=1IOEaPpi3kJD1Xxull+FY5MKtDnbe9aceg0DEuq3s9VozlwxSGInlsRdWrGVK/z63t oWu1Y57zhm5NL35A4oQsM8wVYzfaZTOU6cYTQUM/6ZF3ubnJc0g6sDYC8WfO+mAggmCZ o7yEwN3+NAYyK7Rdhbz1TE8FChtWzDzauM04gFEzNF3/Eao9iM9NBiE1f6NdWReKYjM+ p+4vSmacgEV/yt0NTosuOdBWbvjxXxtl7qCV/jF0N3B5CGy1/Mtv5X6g2baJqWpqlnrx /VTEayTV+urPdx3SEoocfJNAE3uTGwTy2VUbJ3VTLS1LkRYAFc3OCQgCiKYTUAtFd/MX 45KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PyDkLSYg0Ea2iQjtcXitvBRJOy1VjvgQdQ0jmYxXO9w=; fh=HuSxiu3itqC+x7JRUbmOz8JJxpvn6m6eZSAWcSL4DGQ=; b=zBkCEMYCad+6yw98irDrdPDmFESS2HRQE+IOrhbcBOGsw2GzROffvwiY9wVtDeKLUx 5pashIWsIE3fSnx9GNGm0gQBx/o9k4O5Q9xCmpESMj+uH39jZBFeAQrbIary1klSDHxa 0l/PDhyLi+kaFkZ/EXYgHyFr1fOrShFAB0Wz76Y5/+VfsACr8XQVkdBCqzrr/efdiOWu 9Nol3sBIEDAQ/piHBlLeIeS4R+z3/EJFrgqUcuwy7Rv6Lo0XDu7wli9Wo4CKESCk4+Eu V0Z8jri89+wpHgxAzpkYUezH/oY0CMusbJUED9xoLYHN5BhQiY76s8PAX9NAuC5bksEr i1CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GatdInPf; 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 h13-20020a62830d000000b0066c64dee35csi15830891pfe.215.2023.07.02.13.00.54; Sun, 02 Jul 2023 13:01:06 -0700 (PDT) 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=GatdInPf; 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 S233068AbjGBT41 (ORCPT + 99 others); Sun, 2 Jul 2023 15:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233057AbjGBTzx (ORCPT ); Sun, 2 Jul 2023 15:55:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B77DC3592; Sun, 2 Jul 2023 12:53:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5FCD660C96; Sun, 2 Jul 2023 19:51:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06045C433CA; Sun, 2 Jul 2023 19:51:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688327486; bh=1Y5JUZC0hk2+VhStkGcp8Komml8YDXrr6ysKpN0AVgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GatdInPfm++cryc3jjA24ZT38bwXIbzU0QrmEzVy6CKpUMRNAHSrAExyJT3jdQHoN 7PsXr5RoYuhyjFHbJE62oI/6Rm09ev5TlQ7CGPDhUHSvV51l4vNQPZ4/jCf/Bp9fRm Sg6x0SYRAzTMyG5bFqeb/MTKUuyFGiVWnzsgBJZx1/wbgvk7eAYnBq8uKi6VNtYxIi l+gNSkPzo6jS7WC6RSP5YXJ/dqGtSDKNc3SVdFjh5n19Bq9aRrbknBRI6WjINinbsb +ZlDdLM7p5jftqY6Zd3mRI5P9sYOZVu+m2NsylrmFFU9LKrDKSuBVwpHCcVKQ2aYbc Or18dVeKwdcBg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , raycekarneal , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 6.4 12/12] ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569 Date: Sun, 2 Jul 2023 15:50:57 -0400 Message-Id: <20230702195057.1787686-12-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230702195057.1787686-1-sashal@kernel.org> References: <20230702195057.1787686-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.4.1 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE 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 From: Hans de Goede [ Upstream commit 23d28cc0444be3f694eb986cd653b6888b78431d ] The Dell Studio 1569 predates Windows 8, so it defaults to using acpi_video# for backlight control, but this is non functional on this model. Add a DMI quirk to use the native intel_backlight interface which does work properly. Reported-by: raycekarneal Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/video_detect.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b87783c5872dd..e7d04ab864a16 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -528,6 +528,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"), }, }, + { + .callback = video_detect_force_native, + /* Dell Studio 1569 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Studio 1569"), + }, + }, { .callback = video_detect_force_native, /* Acer Aspire 3830TG */ -- 2.39.2