Skip to content

Commit 35243fc

Browse files
tiwaiDanilo Krummrich
authored andcommitted
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: 2274ce7 ("drm/nouveau/disp: add output backlight control methods") Cc: [email protected] Link: https://bugzilla.suse.com/show_bug.cgi?id=1223838 Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent b9097e4 commit 35243fc

File tree

1 file changed

+1
-0
lines changed
  • drivers/gpu/drm/nouveau/nvkm/engine/disp

1 file changed

+1
-0
lines changed

drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ mcp77_sor = {
3131
.state = g94_sor_state,
3232
.power = nv50_sor_power,
3333
.clock = nv50_sor_clock,
34+
.bl = &nv50_sor_bl,
3435
.hdmi = &g84_sor_hdmi,
3536
.dp = &g94_sor_dp,
3637
};

0 commit comments

Comments
 (0)