Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp804021pxb; Tue, 3 Nov 2020 13:01:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEv8jQnIe236vCuxa4vcrVo2rWNI90ByjZYUnJT+8uVzy0XYyhaHT0/7cVPcoZxHFrkMLQ X-Received: by 2002:a17:906:389a:: with SMTP id q26mr22554452ejd.211.1604437260829; Tue, 03 Nov 2020 13:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604437260; cv=none; d=google.com; s=arc-20160816; b=x1BuQPFwW2cJJTuaOSCuuhoY0UsaEuVEspFjo7oWMWTObdY7sTZ/AIJgb/jg9qqmAC AR662ra6UyPXy0oG3ZGTr8oMSO+r50A2KtaaaX3vUgJvuMbB1ph0bkvePDltUhCZOuYe rn1q5NKiCdFzBH/+m2he5zcJva1BovM0xlzIn9aPtTstC8ap0CJ+E5Pbk9+lya9bZzF/ pPv2Jv7b+KVed4fIK3vTncZyFzikUvXOCe0txuhsMCWeBAPKjntSRpa7knOrIXK7RBBh DY1UzE8cbmgYLT+8bU18jZJ6EYCKpDZ1NhITEToFdvVDNKxSud5i45kXshLWZt1bxEjR t4iQ== 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=HqS/ksYxoFMjQ+CNTOvKLKw6o/Aow3VnFPLPchm1n6Q=; b=eTyT0lREeYTAOgKWXdrlLmvBGb8dAN8H9+UztLVv2iUXyQoQgWwduhd6+P2I9ExOkm aQ5TtNZdd2txWW/V9uwUKYhGFNJ0vHGueZBO0VZzpLRWSTF6mHIGFqwUEYZNrMjJ4h9y vqGuL1PsxeHvTwYp6FkVCCUG3Cw782H+c98BTbi7emlYLkqzmY5tsZRVBg5u3ijiwxhO GjPN37zsk5cZHgW1zDMabLgKZib9jtY+0zlEoGKiNtgIr2UgOYb3MgYcZYaoHRw60Wth WCvCIFFpFzUeAtWzu+p3mN+HwwprRcc6y0ZgAw8lWYjLcwoJ9HSWF8i80A4qLNX1WI2W KWSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Gsj+6emL; 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=fail (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 k16si5664eja.59.2020.11.03.13.00.37; Tue, 03 Nov 2020 13:01:00 -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=@kernel.org header.s=default header.b=Gsj+6emL; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733046AbgKCU64 (ORCPT + 99 others); Tue, 3 Nov 2020 15:58:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:33664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732547AbgKCU6z (ORCPT ); Tue, 3 Nov 2020 15:58:55 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B4042053B; Tue, 3 Nov 2020 20:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437135; bh=kjIwS9Bi22m/1aIS2oPfF5vV99WlROl3Bi6sTgYhI18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gsj+6emLbCS1XFQNocAHV8JuFa9XldeBAQgFzq5gST3NGjVDpGbOWu6AX+TOIKyU2 VmrGfbUG2OaQrU4KPOGrLNi2ZCPcNddTfY8wE6fs1FChQWFBUmQMw+A6eKM8lG8GPF Em7kJt5hv1E+akEA/FGEHf+iHj9gPJ2tHdbrsWXs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Hung , "Rafael J. Wysocki" Subject: [PATCH 5.4 112/214] ACPI: video: use ACPI backlight for HP 635 Notebook Date: Tue, 3 Nov 2020 21:36:00 +0100 Message-Id: <20201103203301.398052297@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@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: Alex Hung commit b226faab4e7890bbbccdf794e8b94276414f9058 upstream. The default backlight interface is AMD's radeon_bl0 which does not work on this system, so use the ACPI backlight interface on it instead. BugLink: https://bugs.launchpad.net/bugs/1894667 Cc: All applicable Signed-off-by: Alex Hung [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/video_detect.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -282,6 +282,15 @@ static const struct dmi_system_id video_ DMI_MATCH(DMI_PRODUCT_NAME, "530U4E/540U4E"), }, }, + /* https://bugs.launchpad.net/bugs/1894667 */ + { + .callback = video_detect_force_video, + .ident = "HP 635 Notebook", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP 635 Notebook PC"), + }, + }, /* Non win8 machines which need native backlight nevertheless */ {