]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/nouveau/disp: Fix missing backlight control on Macbook 5,1
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Jan 2025 11:49:36 +0000 (12:49 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 7 Jan 2025 14:45:55 +0000 (15:45 +0100)
commit35243fc777566ccb3370e175cf591fea0f81f68c
treefd98f1ec7c2ebfed64e8878b7b730e218f58c3ea
parentb9097e4c8bf3934e4e07e6f9b88741957fef351e
drm/nouveau/disp: Fix missing backlight control on Macbook 5,1

Macbook 5,1 with MCP79 lost its backlight control since the recent
change for supporting GSP-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: stable@vger.kernel.org
Link: https://bugzilla.suse.com/show_bug.cgi?id=1223838
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250102114944.11499-1-tiwai@suse.de
drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c