From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA6571F2C2C for ; Tue, 7 Jan 2025 14:48:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736261296; cv=none; b=nAX5aEs2+JGvvlHmpohUVMsHo4sAs3mubWlxHyT8utc1eQJsmteo6t3hbZpOwiRbkrMGanXXalGxNBmhhGjLEeM+S/LYegNmWkKCQnVfUcn8sMie5sNDWd4xK8LKn4tUDM6LKn86gP6CqssHhwPJYNdDFj4PqLvOQqG/wdPC+rg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736261296; c=relaxed/simple; bh=xxaRG9lwJbdVbuVlu8ldeSeKaq8OrnocA6ebMdDf7kQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WX73PZ204beygv6QiY5IZ9l5sMUeoqzANzDcIvAALfvAikcnvt/nW8mwx0BteO9dCm9gn+aIhu89sSEIa/dL7b3PlddKxgrX5HcDF1PaQPacAfPNebOh/zZ2PdQDLYV3U1uPKg6vGkgYU+wJ61ZKvCshbnpQgc68rnRLgk7Awr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lXi+wx3h; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lXi+wx3h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D25DDC4CEDD; Tue, 7 Jan 2025 14:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736261296; bh=xxaRG9lwJbdVbuVlu8ldeSeKaq8OrnocA6ebMdDf7kQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lXi+wx3halfF7o1dogppSLKUwKIVX1NeBO6hrgFOVlIMKrPEtYuMMhMT2pPM4bKuR kkW+KSAYGIc8hgCPZqcJcNbd8P55njCGCiZT+50Rta50f3lVamuvkw68DECW8Hr811 yPW/PJkvdooDPP4D2Dy/2zJr+N+qEBclR8G9Q/vcF+qXEAu+n81f2DOfuRV1Qr3+zD yf501+TG22KnCp0mfm+NclToTrVuG4mitEZCcG9fwttb4t0eqGrCL4T4+/XTVaOnW0 P2kRygVO7RChD/AovRswn8XelpVHhhnO83h3QTY9VudtRyTdw4gFtoZbM8aNvAkUZv BmfFLDPWAXYAw== Date: Tue, 7 Jan 2025 15:48:12 +0100 From: Danilo Krummrich To: Takashi Iwai Cc: dri-devel@lists.freedesktop.org, Karol Herbst , Lyude Paul , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] drm/nouveau/disp: Fix missing backlight control on Macbook 5,1 Message-ID: References: <20250102114944.11499-1-tiwai@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250102114944.11499-1-tiwai@suse.de> On Thu, Jan 02, 2025 at 12:49:36PM +0100, Takashi Iwai wrote: > Macbook 5,1 with MCP79 lost its backlight control since the recent > change for supporting GFP-RM; it rewrote the whole nv50 backlight > control code and each display engine is supposed to have an entry for > IOR bl callback, but it didn't cover mcp77. > > This patch adds the missing bl entry initialization for mcp77 display > engine to recover the backlight control. > > Fixes: 2274ce7e3681 ("drm/nouveau/disp: add output backlight control methods") > Cc: > Link: https://bugzilla.suse.com/show_bug.cgi?id=1223838 > Signed-off-by: Takashi Iwai Applied to drm-misc-fixes, thanks! > --- > > The previous submission seemed fallin in a crack: > https://lore.kernel.org/all/20240517110853.8481-1-tiwai@suse.de/ > so just resending it. > > drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c > index 841e3b69fcaf..5a0c9b8a79f3 100644 > --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c > +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c > @@ -31,6 +31,7 @@ mcp77_sor = { > .state = g94_sor_state, > .power = nv50_sor_power, > .clock = nv50_sor_clock, > + .bl = &nv50_sor_bl, > .hdmi = &g84_sor_hdmi, > .dp = &g94_sor_dp, > }; > -- > 2.43.0 >