Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp241131pxf; Wed, 10 Mar 2021 05:27:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTrN6gfVwvwibi7MOPA0IVca9iRx8s/seLzzBvLpqTSJCRGq2daz5VIzZid4qQ58k/o0p6 X-Received: by 2002:a17:906:6a06:: with SMTP id o6mr3564941ejr.306.1615382855878; Wed, 10 Mar 2021 05:27:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382855; cv=none; d=google.com; s=arc-20160816; b=okBlNvHwP+kZOdQOnIVpmHjaQnqGfQPsxZ3KNNAeXfwV/6TRVmlLIGF5ihiImNLbWZ kJmPw6SeTIwYWpT7HfO2sj81xBt3pI7KqLCICf5ZmCXpWIyqhm8ecb4xBrW4gIUDdy0d kuT8/ZW7plthKtLzh109p7TDWsmSzn6CXV/N9fMG18a6F1ohpMThkm3r6OCQg97keNUO rCUCXUHtEEBsjHVwH7K9RyFA99D8o6BlCM8WK7NWqwD1t13Jyc2LN9JKXcFTliORM2c2 cwxiIDNqi3TMtHvwu/XXv+8nurr596jUtYXHioXj/Zr11onoBg9XFZ2HihSFXRhon8jW FXTg== 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=azl2gH+dJvYc0cqg5dMFEzOOy+vJyYwKglPvkfoOz7E=; b=iDGUxoRC8s3g74K2oJ3qFvtvgIHbsw2WlHd+p78gNRQDnA2Dnsy4tjN+mvOHR0d0i1 LOdNe8dDYnBQiq0dmJEqhSDFtDiCOVJ1FJShmerJ+iARqYvSeD3L9MuD52iQklJ+UK6W Gc5Aipc3TIM8Otd9RHd7x3e/VJOZERWA6zNg4Fby6EXxP4k/wXeJj2rzIkYjA/gh2w3A bL8qnp9HzTwGRDWr8ZGtp9jYkn8S7rOwT+m2bdet9MLjLJ8VBRFXbN43WmW4C6AjUAMh x7xppLsNoYxeggncWsUETe1bo/75hkBn20QCNxIHVwuIXV3t8Dv50YRN8omiYXCc/bz0 WX2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HbsCtTag; 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 s19si11502213ejb.327.2021.03.10.05.27.11; Wed, 10 Mar 2021 05:27:35 -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=HbsCtTag; 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 S233511AbhCJN0V (ORCPT + 99 others); Wed, 10 Mar 2021 08:26:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:46196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233027AbhCJNYs (ORCPT ); Wed, 10 Mar 2021 08:24:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 232E364FFC; Wed, 10 Mar 2021 13:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382687; bh=1uhXVIS//+Clk2H0qeN43XnBqr6HjMCTkAP1apyCX+U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HbsCtTagiZJOlKBm/dmkyb1gadSV+/w89mhevXUoSu1ZNrtCZYdym7v/OFOfbje+D 1ZdWWfVVUUFUQ4ZdJosPwaoNgVG6QViB+SbHTuqj5JV/SblkFq/lciuLBMJteLHxH5 eIoQnlAGBChVHdy0YzBwlIC0QKVL/6XGzpPsloEI= 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.10 23/49] ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807 Date: Wed, 10 Mar 2021 14:23:34 +0100 Message-Id: <20210310132322.685806668@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132321.948258062@linuxfoundation.org> References: <20210310132321.948258062@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 4f5463b2a217..811d298637cb 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -140,6 +140,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