Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp242229pxf; Wed, 10 Mar 2021 05:29:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlQcczv+FnIUCNonsCRTiRIuKKtoSvIJ8IsRdZky7neq+VIe26uniGpKkfgarDx9nPfUDd X-Received: by 2002:a17:906:94ca:: with SMTP id d10mr3611048ejy.107.1615382952534; Wed, 10 Mar 2021 05:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382952; cv=none; d=google.com; s=arc-20160816; b=PrU4HytRZGnAiDvlkOPcPRsu3S/Iwn3fH3Ffbw+u80B9vwFMnycxR6U6XsWKg1I7fy /SlQ7LX5YuNp3gSsMjRPyNYY+iF7nbt6lzNzW7pKyHGUvRyFVV7r8PgHz0LchbMorj5r m99jz7AVWoG2Vqt5ExfCyoC3LzpHFA5HU1ZJJimSBgUS7vkImY0qLKtY2Iu8RLlwBNp8 s3EKst0TyKiqdtj6Yk4Bm1d12eQLHyvLlXpSL++XWne3AVm2MBcJc1nfARwa3mN0rSAx eAGDzWKSm66oVykh7LZMyV0S8anD4Jrfc2OCGoxI51OqH0C/TbScg8/czTnP4s79RuDn qshQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=K4QVL+94XCjke79F+9TGzOGlExJH6BjzvZLPQ/HazBE=; b=wc8s6N+H6Ous5b55pmOjYnLQeKQtOkI76Vzo/QlNN+XW1w9vlewlOy+unkLd47T4ne GAapp79Xga6g7dzTN3wHFumUwgGYlpcjXkkVzYu9VIZFfgaGewv7l4xVkWd7xtFiCwLV 2iVjRB4nMOMot23q76RAGrB6KzgkpAiRQ9HCk2xRnE21NsvJ7ya2aGzEWIdW2Apz8fLc 2UL2hndCYitnWCmjWF4is8+PndEePixGWicC9FVdGOioFzyozxroW8MJRNCj4L39Z2X2 Yi03nL7zeSxqFxaQG/0O28lSdd42vb/ZXNW+8YU+WoB1NoLIsXlf4LqLgzfNpFIUQzZR Ab5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uPdYbqAc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si12235478ejr.82.2021.03.10.05.28.49; Wed, 10 Mar 2021 05:29:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uPdYbqAc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbhCJN2K (ORCPT + 99 others); Wed, 10 Mar 2021 08:28:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:46706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233233AbhCJNZI (ORCPT ); Wed, 10 Mar 2021 08:25:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BABC464FEF; Wed, 10 Mar 2021 13:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382708; bh=yp1BHNP7Q64zJ/waWQK7I/kFbd4HsZ2/x7cGtkGnPSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uPdYbqAcb3dhhObANGQVVuJEBqS0az8Pcpyx/YSx5GZx11U3JF+4tFrM4WVyXC1fv EBMRuM2LOtmeKnIg4iYNuU9m2m7KbLGH3pH1ESOW/JGSCDVclmdfHw24LiaUyYqegU XB7ef5QrxuOWfCHtQAfQqNOoXWu0StVqHL8AwTiI= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Jasper St. Pierre" , Chris Chiu , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 5.4 16/24] ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807 Date: Wed, 10 Mar 2021 14:24:28 +0100 Message-Id: <20210310132321.042369330@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.550932445@linuxfoundation.org> References: <20210310132320.550932445@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Jasper St. Pierre [ Upstream commit 25417185e9b5ff90746d50769d2a3fcd1629e254 ] The GIGABYTE GB-BXBT-2807 is a mini-PC which uses off the shelf components, like an Intel GPU which is meant for mobile systems. As such, it, by default, has a backlight controller exposed. Unfortunately, the backlight controller only confuses userspace, which sees the existence of a backlight device node and has the unrealistic belief that there is actually a backlight there! Add a DMI quirk to force the backlight off on this system. Signed-off-by: Jasper St. Pierre Reviewed-by: Chris Chiu Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- 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 55af78b55c51..301ffe5b8feb 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -143,6 +143,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = { }, { .callback = video_detect_force_vendor, + .ident = "GIGABYTE GB-BXBT-2807", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"), + DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"), + }, + }, + { .ident = "Sony VPCEH3U1E", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), -- 2.30.1