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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B9CAC6FD19 for ; Thu, 9 Mar 2023 17:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbjCIRMi (ORCPT ); Thu, 9 Mar 2023 12:12:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbjCIRLy (ORCPT ); Thu, 9 Mar 2023 12:11:54 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65F1EEB8B2 for ; Thu, 9 Mar 2023 09:09:15 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id j3so1649259wms.2 for ; Thu, 09 Mar 2023 09:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678381754; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=o5wND0fd1Z3rtFlrd7Cp/13ujKlgxha1tgzRC1bLZd4=; b=uGmFYUzHnNV3C5TNGAUoIaJQkGsd+hWv3ltwc5E3iMzQxTOyaZIwafzulKKhGhg/Bs qmslhKXYxaCciZUC8wbskC/jJ3sU1kRiHuO3GJmQlMDaOtS367exmWToQEq9dqpA8um0 tB+9/0v2yXHBgej67DrmtQqX2S5Yb/e1XYMNmBu986bX7DNDrrwb2pO0J8kHpU3UT3d+ 70jACtOeLfxuu+Njr7RPLEep8Wie+pZYjexDyOa14kcsG2mf2eX1cgppsY3MeVfN4o0Q CE56MNmtF6uKzuf8Jbmn8zPQIgyRVHRx0E9vX1r+c6tRmZatSQCqvAff5gs+6HWi8kX3 JgQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678381754; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=o5wND0fd1Z3rtFlrd7Cp/13ujKlgxha1tgzRC1bLZd4=; b=ERu5jDiX0onjPILXnK/r+kAZAH7QpGyy1whngjdPa3A1M1GykMLL7HoZTxslaCL7Tn uDWMhJD4P1ZgtbZBTijj8whnw8LQ0hhg9Y1YyHSAcXjLVZ5fVmtei6lAGseZJKnsyWMG 4VUQPrW7wSdbpO+IPC0Ns7b63g/CBS+g5wOJ19HUqEpxLDAoagrgrmr1g3g0glZ4Fxxg 73ULgkBnnUPh3RRAaBFRCiCy1TXvNBSmZOdvxNBpzDDsE/SvUGz6Ei5RPBEhZNWPGUNo nA/1BiRmU5CwUSbZitz6VI4X4y+RToFNIu9uDc8U/4fzB8lqzDKomxqCf4C28w7/9+/Y Zfcg== X-Gm-Message-State: AO0yUKWLP1FAoHkdAg1Oh1gD8WMHMd3ADYqvuVyVV1huY+rljuyAOkL+ ZJ93XIoeDrjYUmfQ6DKvUBfFEg== X-Google-Smtp-Source: AK7set8MMBZWwqPrZ6maUN532SudklucvR9ks2z0HcQ0YATPkl1I3mXhCbwZmTdnQxXEaG1Fv/9dyA== X-Received: by 2002:a05:600c:3c87:b0:3eb:39e2:9157 with SMTP id bg7-20020a05600c3c8700b003eb39e29157mr21582110wmb.22.1678381753784; Thu, 09 Mar 2023 09:09:13 -0800 (PST) Received: from aspen.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id n5-20020a05600c294500b003e2232d0960sm403152wmd.23.2023.03.09.09.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 09:09:13 -0800 (PST) Date: Thu, 9 Mar 2023 17:09:11 +0000 From: Daniel Thompson To: Hans de Goede Cc: Mark Gross , Andy Shevchenko , Lee Jones , Jingoo Han , Aditya Garg , platform-driver-x86@vger.kernel.org, Matthew Garrett , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: apple_bl: Use acpi_video_get_backlight_type() Message-ID: <20230309170911.GC96419@aspen.lan> References: <20230307120540.389920-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230307120540.389920-1-hdegoede@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2023 at 01:05:40PM +0100, Hans de Goede wrote: > On some MacBooks both the apple_bl and the apple-gmux backlight drivers > may be able to export a /sys/class/backlight device. > > To avoid having 2 backlight devices for one LCD panel until now > the apple-gmux driver has been calling apple_bl_unregister() to move > the apple_bl backlight device out of the way when it loads. > > Similar problems exist on other x86 laptops and all backlight drivers > which may be used on x86 laptops have moved to using > acpi_video_get_backlight_type() to determine whether they should load > or not. > > Switch apple_bl to this model too, so that it is consistent with all > the other x86 backlight drivers. > [snip] > Signed-off-by: Hans de Goede Reviewed-by: Daniel Thompson but... > --- > A note to the backlight class / subsystem maintainers, this change > applies on top of a similar patch for drivers/platform/x86/apple-gmux.c > which makes that driver use acpi_video_get_backlight_type(). See: > https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans > > I believe it is easiest to also merge this patch through > the platform-drivers-x86 tree, may I please have your Ack for this ? > --- ... please don't treat above as an ack. Lee Jones will hopefully be along shortly to discuss that! Daniel.