From patchwork Thu Mar 2 09:40:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1750546 Return-Path: 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=) 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=20210112 header.b=ZVnrPMO5; 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 4PS5h26Yt1z2460 for ; Thu, 2 Mar 2023 20:40:50 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pXfQb-0003f7-OC; Thu, 02 Mar 2023 09:40:45 +0000 Received: from mail-wr1-f42.google.com ([209.85.221.42]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pXfQa-0003el-81 for kernel-team@lists.ubuntu.com; Thu, 02 Mar 2023 09:40:44 +0000 Received: by mail-wr1-f42.google.com with SMTP id v16so13053822wrn.0 for ; Thu, 02 Mar 2023 01:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=JtPdHQ3XHj+ozEPX9UUwoZz+2ytihCQISe4W+Si745w=; b=ZVnrPMO5sV+tr/ZYuiBmfIyc8c8bgFiwxBRFMPuW/7ULSP8K6zM/JchH71cKe7dP6G 1nyx6xIvxew2t8H8KjCNthGMu0un71OY6lUnSAXEv+nvzsn7hJFL5fTTgFU2R/KClrTx x8I82CzUc8+fASt3/Aj7kRla4/JGrLK9v0YVz0EIowOPKoOBMHB3V1tXhroV9RB54Oj5 kp9GhD8n0PKT06U7CVij+o7HnCT9LNg5nGyV8bByf0iTlTZINl08xD48lOtrAdyJqlmS JQHmNp0SNFyOl6Qxgmw5bKsw1xS5DlYfYtLOjGjQJ/dF7/6O1R56DwEquv3ozEAVeWjl pcBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=JtPdHQ3XHj+ozEPX9UUwoZz+2ytihCQISe4W+Si745w=; b=vg4Wb2h2ynsxBiIdT4zHVnUXNztS/dDTwhMOdXNnFnG4VftxNCFoK0d4tsAABxcd2Q 6Ib/UP1Lky9fYNkk7Kn88kozKsCaR1k5RHIjgKO+yzZYV+buWUtQCthluCz7JJk1fWMe NV1LqKkElZcXeFWHriTpWpN9ZHbRvcHT4GKls4dht2udJIgLQ+qKPPgQIdewM5dl8SdO 1y8n9a2Q4MGELjt7Q09RPcEpsQhUId3xaKukkbGsuZC2ZjFx3OecO/nVwWQrGGMowf4b 0btSbabmPfBWYUrbKYMW3lmSvXXcRDWXQAkAjU0Ynf2x1cw37ripzvxLSsfHRxtOIKtv vHfg== X-Gm-Message-State: AO0yUKWoTsRZuu0Ib3TEGZIauy6T/EE7FxM7ofSw2MgbPOHy+Ell2A7F JOpKTGzVD/rOIDbQSORhmFhygLYxu/F/oPiA X-Google-Smtp-Source: AK7set+BBVNEeo6TWHOgUjfLql0PG2do+xvL5xEuA5j1i1KtishOWk5HmsTtVeEIUA0yzKDOkYq7Ow== X-Received: by 2002:a5d:45d2:0:b0:2c7:bfe:4f78 with SMTP id b18-20020a5d45d2000000b002c70bfe4f78mr6377077wrs.68.1677750043187; Thu, 02 Mar 2023 01:40:43 -0800 (PST) Received: from localhost ([2001:67c:1560:8007::aac:c468]) by smtp.gmail.com with ESMTPSA id m7-20020a7bcb87000000b003dc4a47605fsm2371514wmi.8.2023.03.02.01.40.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 01:40:42 -0800 (PST) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1][SRU][L][OEM-6.1] UBUNTU: SAUCE: ACPI: video: Add backlight=native DMI quirk for Dell Vostro 15 3535 Date: Thu, 2 Mar 2023 17:40:29 +0800 Message-Id: <20230302094029.64001-2-acelan.kao@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230302094029.64001-1-acelan.kao@canonical.com> References: <20230302094029.64001-1-acelan.kao@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.221.42; envelope-from=acelan@gmail.com; helo=mail-wr1-f42.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: "Chia-Lin Kao (AceLan)" BugLink: https://launchpad.net/bugs/2008871 Sometimes the system boots up with a acpi_backlight0 backlight interface which doesn't work. So add Dell Vostro 15 3535 into the video_detect_dmi_table to set it to native explicitly. https://lkml.org/lkml/2023/3/2/187 Change-Id: Iae9699d4a2c0f41a8918f747bb39316eba8b4ea5 Signed-off-by: Chia-Lin Kao (AceLan) --- drivers/acpi/video_detect.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b48f85c3791e9..057dac429bd41 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -714,6 +714,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"), }, }, + { + .callback = video_detect_force_native, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 15 3535"), + }, + }, /* * Desktops which falsely report a backlight and which our heuristics