From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3A0CEB64D9 for ; Sun, 2 Jul 2023 19:59:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233185AbjGBT7A (ORCPT ); Sun, 2 Jul 2023 15:59:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233260AbjGBT6A (ORCPT ); Sun, 2 Jul 2023 15:58:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E6351FE8; Sun, 2 Jul 2023 12:55:27 -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 D477D60CF6; Sun, 2 Jul 2023 19:51:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59CF9C433C9; Sun, 2 Jul 2023 19:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688327515; bh=1Y5JUZC0hk2+VhStkGcp8Komml8YDXrr6ysKpN0AVgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=awkc8FuOpZLSfki8FqTcf40cUJRBzx4/fXyKjtTbvY9LEQ6XkpSKvEKpFBlmBaIja vOdnQ37IS+a+Aso0BqGlOVo6pJ5JJ9bZ/C03xlO03BjexM3hsLb+cIwRB8FHAUgiBt zCtEKuUJ7vXsRxjQEhxMlRknsfEQwIayf37+/DgCgBR0VgrIJ7dC23hbmHoitmQ16t b+J9aC/Dc24awj1RyknBgMZ1rIM/847PsLa8FhEvZyC08qcSX0oKTa6esj1Lsn+MTc wR8YhULT8Oq/yLfO1ONBZ68AzEqr1wnXOZZOdt7ypFERUBv5Lo8yHBMuncUnHwiPC+ S6PeNJac2olwg== 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.3 11/11] ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569 Date: Sun, 2 Jul 2023 15:51:27 -0400 Message-Id: <20230702195127.1787911-11-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230702195127.1787911-1-sashal@kernel.org> References: <20230702195127.1787911-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.3.11 Content-Transfer-Encoding: 8bit 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