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 CF56AC7618A for ; Sun, 19 Mar 2023 07:37:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjCSHfB (ORCPT ); Sun, 19 Mar 2023 03:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjCSHe7 (ORCPT ); Sun, 19 Mar 2023 03:34:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70DB814991 for ; Sun, 19 Mar 2023 00:34:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 253E721AEF; Sun, 19 Mar 2023 07:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679211295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1p6Wpm/438ULBDxSt4Ck9Eaz5ykzXrE1wm024gr5EZw=; b=PCNiMKbJdzRl9M9lKFhMwC1UxkbL0Tltd50g1F4iCsVsaT6SagadtqzeiDrhvZ3ugD78Hz eO9+QbfnWfz7SiNyrnj2dTL4B+V8/QljkfmpKt7lPd0OFI4XW7FFhuM2gx0hqIdaD2W3Bv gTe6sJIKBC0t118WtriB/siFn81sRB4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679211295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1p6Wpm/438ULBDxSt4Ck9Eaz5ykzXrE1wm024gr5EZw=; b=3IUIw4dgCtOyywzYIf3rhZOWh3fhGf1tMRDkZgPtXtE30c0PNNdF62CdmMEUqwHqUnEkR1 qAy+EzCBE2Wn5UAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E534F133E6; Sun, 19 Mar 2023 07:34:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +oOlNh67FmRDMQAAMHmgww (envelope-from ); Sun, 19 Mar 2023 07:34:54 +0000 Date: Sun, 19 Mar 2023 08:34:55 +0100 Message-ID: <87ttyhmbxc.wl-tiwai@suse.de> From: Takashi Iwai To: Hans de Goede Cc: Takashi Iwai , linux-kernel@vger.kernel.org, regressions@lists.linux.dev, dri-devel@lists.freedesktop.org Subject: Re: [REGRESSION] Missing nouveau backlight control on 6.2.x kernel In-Reply-To: <09d1ba06-a034-165d-2f7d-fba7d379e026@redhat.com> References: <87wn3f8zj7.wl-tiwai@suse.de> <09d1ba06-a034-165d-2f7d-fba7d379e026@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Mar 2023 17:49:28 +0100, Hans de Goede wrote: > > Hi Takashi, > > On 3/17/23 11:04, Takashi Iwai wrote: > > Hi, > > > > we've received a regression report on openSUSE Bugzilla about the > > missing backlight control of nouveau device: > > https://bugzilla.opensuse.org/show_bug.cgi?id=1209296 > > > > On 6.1, with acpi_video=native option, the system provided > > /sys/class/backlight/nv_backlight entry. > > > > On 6.2, with acpi_video=native option, there is no entry in > > /sys/class/backlight. And without acpi_video option, it falls back to > > /sys/class/backlight/acpi_video0, which doesn't work as expected. > > > > Hans, could you check whether the recent change in video_detect.c (or > > anything else) may influence on this? My gut feeling is that the > > culprit could be rather some change in nouveau (so dri-devel is > > Cc'ed), but I'm not entirely sure... > > As I already told the reporter, who first contacted me by private email about this, all the drivers/acpi/video_detect.c changes which may influence this are also present in 6.1.y (IIRC >= 6.1.5) . So since this is being reported as only happening with 6.2.y I don't think the recent backlight detect rework is involved. > > And even if the recent backlight detect rework were involved, specifying acpi_backlight=native on the kernel commandline (as the reporter was doing before) should still work since it overrides all other backlight detection. > > So yes this seems to be a nouveau bug and should probably be reported following the instructions from: https://nouveau.freedesktop.org/Bugs.html (which I havealso told the reporter already). Thanks for verification! Takashi