From patchwork Thu Jan 19 16:37:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 13108374 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FF94C46467 for ; Thu, 19 Jan 2023 16:38:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CDB7D10E0B1; Thu, 19 Jan 2023 16:38:00 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id A1D5810E0A7 for ; Thu, 19 Jan 2023 16:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674146277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gtDRAlMxM3BpiZxjHXzl+V5fdT4iRLFW1Aqx9GmsqCU=; b=fQvih1p6dkT8SdBzAyG7dK6ZHYMNuo/Y73WlGnAoEf9gLdLvU+7TjWtR/zNSK0+ru8oTng jjumWBKDG1vvI7C+CswF+0y9e3jepCTxtsq2pYTa9vGFoRbJe0CQzgVqPOJjmlclt1FHsh S0xyKPko1JcvfHQ1FONM170djwG2RMk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-417-eMGSeJgZN7CviRkg4WM27w-1; Thu, 19 Jan 2023 11:37:54 -0500 X-MC-Unique: eMGSeJgZN7CviRkg4WM27w-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A6D7C8A0100; Thu, 19 Jan 2023 16:37:53 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.194.158]) by smtp.corp.redhat.com (Postfix) with ESMTP id C33D32026D76; Thu, 19 Jan 2023 16:37:52 +0000 (UTC) From: Hans de Goede To: "Rafael J . Wysocki" Subject: [PATCH 0/2] ACPI: video: More backlight quirks Date: Thu, 19 Jan 2023 17:37:42 +0100 Message-Id: <20230119163744.548749-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hans de Goede , linux-acpi@vger.kernel.org, dri-devel@lists.freedesktop.org, Len Brown Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Rafael, With the backlight changes landing in 6.1.y now showing up in distribution repositories I have been receiving a steady stream of backlight bug reports by email. These bug-reports fall into various categories and most of them are already fixed with some recent fixes which are in 6.1.7 and later. One category (unfortunately) requires adding DMI quirks. I have been receiving reports from users with pre Windows 8 laptops, who used to pass acpi_backlight=vendor on the kernel commandline to hide a non functioning acpi_video# backlight device, so that userspace will use the native (GPU driver) backlight device instead. Starting with 6.1.y acpi_backlight=vendor is now also honored by the native backlight drivers, hiding the native backlight device, leaving these users with no backlight device at all. This leads to them sending me a bug-report. Which in a way is a good thing because these models really needed to have a DMI quirk added all along, but this was never reported upstream. The fix here is to use "acpi_backlight=native" and to set this through a DMI quirk so that things will work out of the box. The Acer Aspire 4810T quirk from a couple of days was like this and the first quirk in this series is too. I expect to receive more bug-reports like this, so you can expect a steady trickle of backlight quirk patches from me the coming time. Note the second quirk in this series is also a "acpi_backlight=native" quirk, but the root cause is somewhat different, see the commit msg. Regards, Hans Hans de Goede (2): ACPI: video: Add backlight=native DMI quirk for HP Pavilion g6-1d80nr ACPI: video: Add backlight=native DMI quirk for HP EliteBook 8460p drivers/acpi/video_detect.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)