n
the main switch/case. So execution falls back to acpi backlight,
that for this laptop does not work at all (tried vendor, native,
video). Tested also nvidia-wmi-ec-backlight, the module does not
even get loaded. Only solution i found is this patchset.
On Fri, 2024-04-12 at 21:49 +0200, Angelo Duregh
Set pwmgen_bit_count to have proper brightness inc/dec steps
even when driver_pwm_freq_hz (optional) is zero.
cat /sys/class/backlight/nv_backlight/max_brightness
255
Can now tune properly backlight from 0 to 255.
---
Changes for v2:
none
Signed-off-by: Angelo Dureghello
---
drivers/gpu/drm
)
- remove forgot debug printk
Signed-off-by: Angelo Dureghello
---
drivers/gpu/drm/nouveau/nouveau_backlight.c | 54 +
1 file changed, 54 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c
b/drivers/gpu/drm/nouveau/nouveau_backlight.c
index d4
6.
Tested to work properly in Legion Lenovo Pro 5
Lenovo Legion 5 Pro 16ARX8
Bios ver LPCN49WW
LPEC49WW
SN PF4T63AZ
Nvidia RTX4060 MaxQ/Mobile rev a1 (ADA LOVELACE AD107M)
AMD Ryzen 9 7945HX + Radeon
and wayland.
Signed-off-by: Angelo Dureghello
---
drivers/gpu/drm/display/drm_d
Hi all,
i am testing current mainline (6.7.rc8), on
a lenovo legion, with AD107M (chipset 197000a1).
Looks like somewhere at driver probe, screen turns
black and stays forever. If any hint, welcome.
I can help debugging, rebuilding and testing in case.
Regards,
Angelo Dureghello
316] nouveau :01:00.0: gsp:msg fn:4123 len:0x24/0x4
res:0x0 resp:0x0
Regards,
angelo
On 03/01/24 1:40 PM, Angelo Dureghello wrote:
Hi all,
i am testing current mainline (6.7.rc8), on
a lenovo legion, with AD107M (chipset 197000a1).
Looks like somewhere at driver probe, screen turns
black and st
Hi all,
i am testing current mainline (6.7.rc8), on
a lenovo legion, with AD107M (chipset 197000a1).
Looks like somewhere at driver probe, screen turns
black and stays forever. If any hint, welcome.
I can help debugging, rebuilding and testing in case.
Regards,
Angelo Dureghello